ROWID is a proprietary data type in Oracle that uniquely identifies a row in a physical database because it is unique and persistent and can persist when the row is moved or updated. Advantages include fast retrieval, can be obtained using the ROWID pseudo-column, and can be used to quickly find, compare, and move rows.
ROWID Data Type in Oracle
What is ROWID?
ROWID is an Oracle-specific data type that uniquely identifies a row of data in a physical database.
Why use ROWID?
Using ROWID has the following benefits:
The structure of ROWID
The structure of ROWID depends on the Oracle version:
Get ROWID
You can use the ROWID pseudo column to get the ROWID of the row:
SELECT ROWID FROM table_name WHERE ...;
Use ROWID
ROWID can be used for the following purposes:
The above is the detailed content of What type is rowid in oracle?. For more information, please follow other related articles on the PHP Chinese website!