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?
Gus Spier wrote:
>
> Could some kind of DECODE be added to a cursor to translate the rowid to
> a rank?
>
> Gus
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 Information Technologies jverbil_at_uswest.com (303) 896-0916Received on Fri Dec 20 1996 - 00:00:00 CST
![]() |
![]() |