Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get the result of Store Procedure in a Cursor...
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00521761
Message ID:
00522756
Views:
11
Thank you Abdrew. This is really helping.

I am new at this. Can you give me a example of a SQLStringConnect?
This will also help me.


>Assuming you've established a connection to the SQL Server (with SQLConnect or SQLStringConnect) and stored the connection handle in lnConnHandle, you can use the syntax
>
lnResult = SQLExec(lnConnHandle, "exec MyStoredProcedure param1, param2, param3...", 'MyNewCursor')
>This will return the result of the SP into a cursor called MyNewCursor. If you omit the third parameter, the cursor will be called SQLRESULT.
>
>Cheers,
>
>Andrew
>
>>I have a Store procedure in SQL 2000 that process a large amount of data. The result of this SP is a sub set of data.
>>
>>How can I call from VFP my Store Procedure and get the result in a VFP cursor?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform