Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning Values when using Store Procedures
Message
From
29/06/2006 04:53:14
 
 
To
28/06/2006 21:59:23
General information
Forum:
Visual Basic
Category:
SQL Server
Miscellaneous
Thread ID:
01132618
Message ID:
01132646
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
You SP myStoredProcedure should return an output parameter value.
specify the return value in SQL Server SP after the insert as
return @@IDENTITY

This completes one part. Now in VB code use command object to execute the SP.
specify output Parameters for the command. When you execute the command, the parameter automatically contains the value of SP's output parameter.
Best Luck..
Nilesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform