Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Get the RowID of the last insert
On Mar 25, 12:43 am, "Ana C. Dent" <anaced..._at_hotmail.com> wrote:
Warning - Rowid's can change. In some cases it is possible for a rowid to be reused within extremely tight periods of time so take care that the data is either retrieved using select for update or that no deletes take place between the fetch to get the rowid and any update or delete done using the rowid. In some applications it is advisible to verity the row fetched by rowid is the same row that was initially fetched (same key).
The target table being an IOT or a paritioned table with row movement enabled should be considered in application design.
Just a couple of points to keep in mind.
![]() |
![]() |