General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Speeding up a query
Is there a way to improve the speed of this query?
SELECT *
FROM tablename ;
WHERE RECNO() >= lnrecno ;
INTO CURSOR mycursor
I am trying to select the last X number of records from a table, but as the table grows, this SELECT statement slows down. Is there a way of improving the speed or another way to select just the last X number of records from a table?
Thanks
Jerryt
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only