I have a query front end built in ASP. It's possible the user could run a statement that returns thousands of rows and times out. I want to implement a paging feature. I've seen examples using absolutepage and pagesize properties of the recordset. Am I right in thinking that these features won't increase the speed of my query (all rows are still returned), they will just assist me in displaying the data? If this is the case then my query will still timeout. I want to add some code to my SQL statement so it only selects say 50 rows at a time. Does anyone know if this is possible in SQL Server. I know there is a 'TOP' command that selects the first x rows...won't be much use when I get to the end of my data set! Is there a unique RECID value built in to SQL that I can Reference...eg on page 2 I can select the top 50 recs where recid > last recid.
THanks...Rich.
THanks...Rich.