I've looked around to see how to limit the rows returned from a query and I've come across TOP etc., but it's not what I'm looking for.
With MySQL you can use LIMIT start,limit - so for example I'm browsing an archive of pages with 10 items per page, and I'm viewing page 4, it would be "LIMIT 30,10"
With MS SQL, I cannot figure out how to do this. The TOP command only allows me to grab the top X number of rows, but what if I don't want just the top?
So if a query has 75 rows that match the where clause etc., but I only want rows 25-35, how would I formulate that?
With MySQL you can use LIMIT start,limit - so for example I'm browsing an archive of pages with 10 items per page, and I'm viewing page 4, it would be "LIMIT 30,10"
With MS SQL, I cannot figure out how to do this. The TOP command only allows me to grab the top X number of rows, but what if I don't want just the top?
So if a query has 75 rows that match the where clause etc., but I only want rows 25-35, how would I formulate that?