Hi!
I'm building Web-application and I want to limit the number of displayed records (1-10, 11-20, 21-30 etc. as hyperlinks on the page). If I use MySQLSever - there is built-in function LIMIT(start,record_numbers). But unfortunately I couldn't find equivalent function in MSSQLServer. MSSQL's finction TOP still returns too much records. I need to display only 10 records per time, so it's useless to get all recordset.
Do you have any ideas (and examples)?
TIA.
I'm building Web-application and I want to limit the number of displayed records (1-10, 11-20, 21-30 etc. as hyperlinks on the page). If I use MySQLSever - there is built-in function LIMIT(start,record_numbers). But unfortunately I couldn't find equivalent function in MSSQLServer. MSSQL's finction TOP still returns too much records. I need to display only 10 records per time, so it's useless to get all recordset.
Do you have any ideas (and examples)?
TIA.