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
 General SQL Server Forums
 New to SQL Server Programming
 output of procedure to variable

Author  Topic 

Ufin
Starting Member

7 Posts

Posted - 2011-07-13 : 05:19:30
as

lionofdezert
Aged Yak Warrior

885 Posts

Posted - 2011-07-13 : 08:57:28
Why you don't like to create a function for this purpose, which will do the same as your store procedure is doing and will also return a scaler value, which you can store in your desired variable.

--------------------------
http://connectsql.com/
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2011-07-13 : 08:59:30
http://www.sqlteam.com/article/stored-procedures-returning-data


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -