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.
| Author |
Topic |
|
hotshot_21
Yak Posting Veteran
97 Posts |
Posted - 2007-08-08 : 05:49:41
|
| is it possible to return multiple output values in stored prcodeurefor eg. Create Proc XYZ( @x int output,@y int output,@z int ouput)As BeginSET @X= Select from tableSEt @Y=SELECT from tableset @z=slect from tableend |
|
|
ditch
Master Smack Fu Yak Hacker
1466 Posts |
Posted - 2007-08-08 : 05:52:00
|
Yes,Why are you asking the question, haven't you tried it yet?Give it a try and if you still have problems post your code and ask for help.Duane. |
 |
|
|
hotshot_21
Yak Posting Veteran
97 Posts |
Posted - 2007-08-08 : 05:54:23
|
| actually right now i don't hav access to swl server thats y i asked the question otherwise i wud have tried it out.Thanks |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2007-08-08 : 06:00:17
|
Yes. You can return multiple output value via OUTPUT parameter. However you stored procedure will not work due to syntax error on the SET  KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|
|