Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> ROWNUM strangeness?--SOLVED
In my haste, I hadn't noticed that, although the query did not contain
an ORDER BY, it did contain SELECT DISTINCT, which causes an implicit
ORDER BY. As we all know, ROWNUM is usually assigned when rows are
read into the cache, before sorting; thus the order of ROWNUMs in the
output is not sequential, and ROWNUM 999 could be the 336th row in
sorted order.
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Aug 29 2002 - 11:23:38 CDT
![]() |
![]() |