Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 retrieving data from stored procedure

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-11-11 : 10:27:20
Daniel writes "Hi how are you doing. Well my question is about, how retrieve some data from a stored procedure. I have a store porcedure that have no output varibles, and have not the 'return' word key at the end of it, but when i run it i have a value, as the sp, executes a select command, but inside of the sp, there are some operation that affects table, then how can i do to obtain that result??"

Page47
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2002-11-11 : 10:50:06
Very well, thank you.

If you stored procedure returns a single rowset you can use an INSERT INTO ... EXEC ... construct to move the rowset into a table.

Jay White
{0}
Go to Top of Page
   

- Advertisement -