Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to add and populate a new column?
John Verbil <jverbil_at_netmail.mnet.uswest.com> wrote in article
<32BB0B5C.6663_at_netmail.mnet.uswest.com>...
> I don't see how. ROWIDs have no correlation to any ORDER BY clause in a
> cursor. ROWNUM will assign numbers 1-N to each row returned based on
> the ORDER BY clause.
> John Verbil
> U S WEST Communications
Sorry, but this is dangerously incorrect. ROWNUM is a psuedocolumn which identifies relative row number within a result set, and is assigned BEFORE the order by clause is executed.
Roger Received on Fri Jan 03 1997 - 00:00:00 CST