Scorez2000
Programmer
I'm writing my own first discussion board in ASP.
I want to run a query to pull out the latest 20 threads. However, There may end up being thousands of threads in the database. Creating a query with 1000s of records will not be very efficient.
Is it possible to order the records by date and then only select the top 20 records to appear in my recordset?
Thanks in advance,
Wayne
I want to run a query to pull out the latest 20 threads. However, There may end up being thousands of threads in the database. Creating a query with 1000s of records will not be very efficient.
Is it possible to order the records by date and then only select the top 20 records to appear in my recordset?
Thanks in advance,
Wayne