sql server 2008 - access multiple result sets returned by called stored proc from the calling stored proc

陌路散爱 提交于 2019-12-24 09:56:40

问题


I have a stored proc that return multiple result sets, and it works perfectly fine. However, I'm writing unit tests for this proc, and so I need to call this from another stored proc. I've handled these multiple result sets in my code by using SqlDataReader.NextResult(). Is there something on these lines in SQL Server that would allow me to do the same from within the calling stored proc? Even before I iterate through the result-sets, there should be a way to store them as well.

来源:https://stackoverflow.com/questions/10231028/sql-server-2008-access-multiple-result-sets-returned-by-called-stored-proc-fro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!