For which of the following database objects can locks NOT be obtained?
-
A row
-
A table
-
A column
-
An index key
C
Correct answer
Explanation
Database locking mechanisms can be applied at row level, table level, and index key level, but NOT at individual column level. Column-level locking would be extremely granular and inefficient - most database systems lock at the row or page level instead. When you need to prevent concurrent access to specific columns, you use row-level locks which protect the entire row including all its columns. This is a fundamental design decision in database concurrency control.