Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a character string from SQL 2000
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00663558
Message ID:
00663571
Views:
14
>I have a store procedure that needs to return a character string. I have the string store in a local variable on SQL and I am running the stored procedure via SQLEXECUTE.
>
>What are my return options from SQL? Is there a way to catch a Print output from a Stored Procedure?
>
>Thank you in advance.

You can return cursor with one field or you can use output parameter
lcRetVal = ""
= SQLExec(lnHandle,"EXEC sp_name ?@lcRetVal")
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform