Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting single value from MS SQL stored proc
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00889317
Message ID:
00889329
Views:
17
>I'm clear on getting a cursor back from a SQL stored procedure, but I cannot seem to get the syntax right for grabbing a single precedure returned value into a VFP variable...
>
>TIA

Hi Michael,

See Re: Can stored procedures return values? Message #876903. If you don't care about stored procedure return value than call is simplier.
lnResult = SQLEXEC(lnConn ,[EXEC Proc_test 1,2, ?@lcStr], "crsTemp" )
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform