melthedba
SSCommitted
Points: 1630
More actions
August 16, 2005 at 10:12 pm
#582687
Maybe this will help you.
declare @Desired_CustomerID int
select top 6500 @Desired_CustomerID = CustomerID
from dbo.Customer
order by CustomerID
select @Desired_CustomerID
That should return the CustomerID of the 6500th record.
Viewing post 16 (of 15 total)
You must be logged in to reply to this topic. Login to reply