SQL Server 2012'de sp çalıştırıp aşağıdaki gibi bir hata mesajı alıyorsanız sp'niz birden çok result döndürüyor siz ise WITH RESULT SETS içerisinde tek result döndürmeye çalışıyorsunuz. SP nizi inceleyip; SP'niz kaç adet result döndüyorsa WITH RESULT SETS te o kadar result döndürmelisiniz.
"Msg 11535, Level 16, State 1, Procedure ProductList, Line 10
EXECUTE statement failed because its WITH RESULT SETS clause specified 1 result set(s), and the statement tried to send more result sets than this."
Hiç yorum yok:
Yorum Gönder
Lütfen yorumlarınızda Ad Soyad ve Web sayfanızın adresini girelim!