Question
sql select "limit" in MSSQL
Hi,
I use MSSQL wit coldfusion.
I would like to know if there is a way to use the "limit" clause as in MySQL.
Example:
I have 1000 record to show, 10 per page.
page 1) select * from table limit 1,10
page 2) select * from table limit 11,10
page 3) select * from table limit 21,10
...
page N) select * from table limit (N-1)x10+1, 10
Maybe with the TOP clause? But how?
Thanks in advance.
