troubleshooting Question

Select Range of data

Avatar of cdfllc
cdfllc asked on
Microsoft SQL Server
6 Comments1 Solution193 ViewsLast Modified:
Hi, I am looking for a way to select the first 65,000 records from a table, then in another query the next 65,000 records, and so on.

Why am I doing this? Our users need to be able to view this data in Excel - which has a limit of the number of rows 65,653 or something...
So I am wondering if I can setup a DTS command line thing where I can export the first 65,000 into the first excel worksheet, the next 65,000 in the next worksheet and so on...

has anyone come up with a way to do this?

thanks,
ccfllc
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros