TheObserver
Programmer
Is there a way to do a "SELECT 1 from..." where I can stipulate a key and get the next ONE row of data from the database that is greater than the key value I supply?
IE:
SELECT NEXT FROM TABLE WHERE TABLE_ROW_ID > 1;
Let's say this returns a 3 as the table_row_id, along with the other data for that row.
Then I could repeat this as necessary:
SELECT NEXT FROM TABLE WHERE TABLE_ROW_ID > 3;
Thanks for your help.
IE:
SELECT NEXT FROM TABLE WHERE TABLE_ROW_ID > 1;
Let's say this returns a 3 as the table_row_id, along with the other data for that row.
Then I could repeat this as necessary:
SELECT NEXT FROM TABLE WHERE TABLE_ROW_ID > 3;
Thanks for your help.