Is it safe to use ROWID to locate a Row/Record in Oracle?

前端 未结 3 924
一向
一向 2021-01-19 06:29

I\'m looking at a client application which retrieves several columns including ROWID, and later uses ROWID to identify rows it needs to update:

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-19 06:34

    I do not think it is safe to do so, in theory it will not change, that is of course until someone "accidentally" deletes something on the actual DB...

    I would just use the PK makes a lot more sense.

提交回复
热议问题