cruel:
I don't know much about Oracle. Thanks for the update. The closest thing I can think of using FIRST. Beginning with Online 7, Informix provides a FIRST keyword. So if you wanted to the first 10 rows, it's
SELECT FIRST 10 col1, col2 FROM table_name WHERE ....
For the Informix 4GL programmers, in order to use FIRST, declare the select as a cursor.
Informix also has a rowid. It's a guaranteed unique integer value and does not change for the life of the row. So you can do:
SELECT * FROM table_name WHERE rowid = 45678
If you're using fragmented tables, rowid works a little different. I've really not had fragment tables, but I think you have to delcare the rowid column.
Regards,
Ed
Schaefer