Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting SQL Server stored proc return value
Message
From
05/12/2003 14:31:54
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Getting SQL Server stored proc return value
Miscellaneous
Thread ID:
00856398
Message ID:
00856398
Views:
74
Hi,
Does anyone know how to get a return value from a SQL Server stored proc? For example, if I have a line of code "RETURN 123" in the proc, how do I receive that? The proc doesn't take an output parameter, just returns a number.

? SQLEXEC(nConnection,[exec MyProc]) && Returns a 1 showing that the call didn't have an error

Thanks.

Gary
Next
Reply
Map
View

Click here to load this message in the networking platform