Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting Multiple RecordSets
Message
From
12/03/2001 09:41:43
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Restricting Multiple RecordSets
Miscellaneous
Thread ID:
00484017
Message ID:
00484017
Views:
44
Our VB programmers only want my stored procedures to return one result set. Unfortunately, this is very inconvenient for me in some situations.

Question 1: Is there a way to write code that produces multiple record sets, but that will only send back the last record set produced?

Question 2: I have been trying to use sp_executeSQL procedure to run a query and get the row count (without generating a result set), but can't see how to set a return value into an output parameter. Is there a way to get back this count without producing a result set and using @@rowcount?
Next
Reply
Map
View

Click here to load this message in the networking platform