Hi,
I need help writing this query:
I have a table with about 3 millions rows... and I need to select rows in bataches of five, meaning 600,000 rows at a time.
Each row is identified by a unique ID... however, the ID's are NOT in order. For example, ID sequence could go: 1, 2, 3, 10, 100, etc.
So I can't just say give me rows with ID's 1 - 600,000, then 601,000 to 1,200,000, etc.
How can I go about this?
Thanks much!
I need help writing this query:
I have a table with about 3 millions rows... and I need to select rows in bataches of five, meaning 600,000 rows at a time.
Each row is identified by a unique ID... however, the ID's are NOT in order. For example, ID sequence could go: 1, 2, 3, 10, 100, etc.
So I can't just say give me rows with ID's 1 - 600,000, then 601,000 to 1,200,000, etc.
How can I go about this?
Thanks much!