Q
quartz
I am using Office 2003 on Windows XP.
I am querying an Access table from Excel and I need a SQL string to import
the rows in a table in successive 200 record increments. So the first query
would return records 1 through 200. My program would work on these rows and
when done, the next query would return 201 thru 400; then 401 thru 600 etc.
for +/- 8000 records.
The final query would need to just return any fractional amount left over.
Can someone please post a hypothetical SQL string I can use to do this?
For example:
SELECT TOP 400 FieldName FROM TableName; <<<This works on first query...
Thanks much in advance.
I am querying an Access table from Excel and I need a SQL string to import
the rows in a table in successive 200 record increments. So the first query
would return records 1 through 200. My program would work on these rows and
when done, the next query would return 201 thru 400; then 401 thru 600 etc.
for +/- 8000 records.
The final query would need to just return any fractional amount left over.
Can someone please post a hypothetical SQL string I can use to do this?
For example:
SELECT TOP 400 FieldName FROM TableName; <<<This works on first query...
Thanks much in advance.