Hi gurus,
I have this question, because the statement:
SELECT * FROM my_tab WHERE rownum <= 50
ORDER BY 1
doesn't always work, because I know:
Oracle7 assigns a ROWNUM value to each row
as it is retrieved, before rows are sorted
for an ORDER BY clause, so an ORDER BY clause
normally does not affect the ROWNUM of each
row.
Any clues?
TIA
Mack
I have this question, because the statement:
SELECT * FROM my_tab WHERE rownum <= 50
ORDER BY 1
doesn't always work, because I know:
Oracle7 assigns a ROWNUM value to each row
as it is retrieved, before rows are sorted
for an ORDER BY clause, so an ORDER BY clause
normally does not affect the ROWNUM of each
row.
Any clues?
TIA
Mack