SQL ENQUIRY In how to Get defined number of records
Posted
by ramadan2050
on Stack Overflow
See other posts from Stack Overflow
or by ramadan2050
Published on 2010-04-14T10:13:22Z
Indexed on
2010/04/14
10:33 UTC
Read the original article
Hit count: 160
I have a select statement, retrieve about 1000 record
I want to modify it to return only some records defined by @startIndex and @count
e.g. : If I said @startIndex=20 and @count=20
the result will be : from the 21th record to 40th
I try to make it, but it take the same time as if I retrieve the 1000 record
what is the best way to do that
© Stack Overflow or respective owner