Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute in a query
Message
 
To
16/07/2004 16:13:20
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00925315
Message ID:
00925336
Views:
14
I forgot to tell you to create a value to output the value to


declare @got_val varchar(10)
set @got_val = ''
execute stor_proc @got_val

print @got_val

In the procedure you need to accepr the pass

create stor_proc
@returnval varchar(10) output
as
......



return @returnval
Software engineers are trained to read and understand code; they are not trained in mind reading. Document the purpose not just the functionality.
Previous
Reply
Map
View

Click here to load this message in the networking platform