Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a string to SQL server/ Returning a string from
Message
From
03/09/1999 16:50:59
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00261187
Message ID:
00261379
Views:
24
>Yes, you can pass a string to a SQL Server stored procedure. The length will depend on the version. SQL Server 6.5 will be limited to 255. Version 7 is limited to 8000 byte.
>
>There are two ways to return a character string from a SQL Server stored procedure. The first way is to return it as a result set. The second way would be to return it through an OUTPUT parameter.
>
>-Mike
PMFJI
How do you capture it in a sql-passthrough call? I've tried doing =SqlExec(nHandle, "exec sp_getstring ?inputparm, ?outputparm") but I always get an empty value on outputparm.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform