How Rowids are assigned to rows by Oracle? [message #596335] |
Fri, 20 September 2013 17:52 |
|
gupta27
Messages: 31 Registered: August 2013 Location: Delhi
|
Member |
|
|
Hi,
Can you please tell me how Rowids are assigned to rows by Oracle?
Is it that Rowids are assigned in an incremental manner - as in the latest record would get Maximum Rowid.(Assuming that no record has ever been deleted from that table)
|
|
|
Re: How Rowids are assigned to rows by Oracle? [message #596336 is a reply to message #596335] |
Fri, 20 September 2013 17:55 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
gupta27 wrote on Fri, 20 September 2013 15:52Hi,
Can you please tell me how Rowids are assigned to rows by Oracle?
Is it that Rowids are assigned in an incremental manner - as in the latest record would get Maximum Rowid.(Assuming that no record has ever been deleted from that table)
post SQL & results that show or return what you call ROWID.
Or post URL to Oracle documentation where ROWID is defined.
Do you mistaken ROWID for ROWNUM (row number)?
1* select rowid, rownum from dual
SQL> /
ROWID ROWNUM
------------------ ----------
AAAAB0AABAAAAOhAAA 1
[Updated on: Fri, 20 September 2013 17:58] Report message to a moderator
|
|
|
|
|
|
|
|