1
我有一個存儲過程,其中我調用了另一個存儲過程[假設我有調用子SP的父存儲過程]。子存儲過程的結果集有近10,000條記錄。我怎樣才能得到它在父存儲過程?從另一個SP調用結果集的SP
Parent SP
(
Student INT
Teacher INT
Name Varchar
)
Child SP [Get Student specific activities] Student
-- Result Set of Child SP needed Here
-- End of Parent SP
看到此前類似的問題:http://stackoverflow.com/questions/2515955/using-stored-procedure-into-select-t-sql/2516129#2516129 – 2011-06-13 18:19:06