Extracting certain rows to excel

brites

Board Regular
Joined
Aug 19, 2004
Messages
224
Hi there, I have a table with 225.000 rows, I want to extract them 65.000 by 65.000 to an excel spreadsheet.

I dont have any numbering fild to help me. I got the first 65.000 with the instruction:
SELECT TOP 65000 * FROM TABLE_NAME,

How can I extract rows 65001 to 130000 and so on?

Thanks in advance!

Brites
 
Try putting square brackets around the table name:

"[Kroger Pos]" instead of "Kroger Pos"

Spaces in table and field names are often a cause of problems; it's best to avoid using spaces and either run the names together, or use underscores instead of spaces.

Denis
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,276
Messages
6,171,140
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top