Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Recordset For Cursor
Message
From
05/01/2001 12:53:12
 
 
To
05/01/2001 10:38:16
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00459813
Message ID:
00459904
Views:
15
I think you've got a couple of options.

First, if you don't really need a cursor, you could use a temp. table. If you create the temp table in Proc1 and then call Proc2 from within Proc1, the temp table is visible to Proc2.

SQL Server has a Cursor datatype that allows you to pass a reference to a cursor in an Output parameter. I've not had an reason to use it and I have no idea how it works.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform