troubleshooting Question

splitting result set

Avatar of royjayd
royjayd asked on
Microsoft SQL Server 2008
6 Comments2 Solutions179 ViewsLast Modified:
hi guys

I have 1,200,000 rows in my table customer

Table Customer has 4 columns
Id
Name
City
dept


Is it possible to say

select 'first quarter of the rows' from Customer   - return first 300000 rows
Select 'second quarter of the rows' from Customer  - return the next 300000 rows
Select 'third quarter of the rows' from Customer   - return the next 300000 rows
Select 'fourth quarter of the rows' from Customer  - return the next 300000 rows


Any idea how i can go about doing that.

Thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 6 Comments.
Join the Community
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 2 Answers 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