Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL in batches of 100
Message
 
 
To
13/02/2009 16:21:30
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01381657
Message ID:
01381838
Views:
37
>Let's say I have a table with 950 records. I want to select the first 100, do something, the next 100, do something, etc., then select the final 50, do something. It is the same something, I just only want to process 100 at a time.

Can you use ORDER BY and TOP clause for your processing to select 100 records? Then update some flag and select next 100 ?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform