Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving subsets of data using SQL Server cursors
Message
From
12/08/2003 19:52:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Retrieving subsets of data using SQL Server cursors
Miscellaneous
Thread ID:
00819654
Message ID:
00819654
Views:
64
I need to retrieve data from large SQL tables into multiple under 2G dbf files. At one time I knew how to do this, but I've lost it. I know I used cursors in a script like
DEFINE MyCursor CURSOR FOR
SELECT * FROM BigOleSQLTable

OPEN MyCursor

FETCH NEXT FROM MyCursor
WHILE @@FETCH_STATUS = 0
   FETCH NEXT FROM MyCursor
  BEGIN
END

CLOSE MyCursor
DEALLOCATE MyCursor
Can somebody help me flesh this out to create multiple result cursors. Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform