Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting query progress from SQL Server
Message
From
04/12/2000 11:48:36
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00446850
Message ID:
00448861
Views:
7
Hi!

You may try to use non-batch asynchronous mode. However, with remote views I don't know if you will be able to get correct work. With SPT you will get a set of cursors which you than require to link together into a single cursor. I never tried that approach, I refer to VFP Programmer's Guide, Chapter 21: Implementing a Client/Server Application, 'Processing Multiple Result Sets'.

>I would like to be able to update a progress bar with the status of a SPT statement. The data is on SQL Server being accessed via ODBC. We are using Remote Parameterized Views but of course don't want to / can't bring down the whole table to perform functions locally but have to show the status of the Select, Update, Delete.
>
>I've looked at getting @@rowcount and from SQL Server but that returns the total affected and only executes after the previous statement is done.
>
>@@cursor_rows returns the number of rows currently in the keyset but again, only executes after the previous statement has completed.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform