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 |
|
krishna_yess
Yak Posting Veteran
81 Posts |
Posted - 2011-02-21 : 04:59:07
|
| What is the problem with this code alter proc my_proc ( @_id int, @_name varchar(20) OUTPUT ) as select name as @_name from test where id=@_id |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-02-21 : 05:03:19
|
quote: Originally posted by krishna_yess alter proc my_proc ( @_id int, @_name varchar(20) OUTPUT ) as select @_name=name from test where id=@_id
the highlighted !! CheersMIK |
 |
|
|
krishna_yess
Yak Posting Veteran
81 Posts |
Posted - 2011-02-21 : 05:06:38
|
| thanks for the reply i tried that. i could not get ouput parameter value from my c# app. i think i missed something in my appany way i'll try again |
 |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-02-21 : 05:07:58
|
don't know about the C# pardon me for that |
 |
|
|
krishna_yess
Yak Posting Veteran
81 Posts |
Posted - 2011-02-21 : 05:23:03
|
| this worked thanks |
 |
|
|
|
|
|