Relational Database Management System (RDBMS) Question:

Download Job Interview Questions and Answers PDF

What is ROWID?

RDBMS Interview Question
RDBMS Interview Question

Answer:

The ROWID is a unique database-wide physical address for every row on every table. Once assigned (when the row is first inserted into the database), it never changes until the row is deleted or the table is dropped.
The ROWID consists of the following three components, the combination of which uniquely identifies the physical storage location of the row.
► Oracle database file number, which contains the block with the rows
► Oracle block address, which contains the row
► The row within the block (because each block can hold many rows)
The ROWID is used internally in indexes as a quick means of retrieving rows with a particular key value. Application developers also use it in SQL statements as a quick way to access a row once they know the ROWID

Download RDBMS Interview Questions And Answers PDF

Previous QuestionNext Question
What is Oracle Block? Can two Oracle Blocks have the same address?What are database files, control files and log files. How many of these files should a database have at least? Why?