Can Check constraint be used for self referential integrity ?
-
Yes
-
No
-
Not in Oracle
-
None of the above
A
Correct answer
Explanation
CHECK constraints can enforce conditions on columns including self-referential logic within the same row. A CHECK constraint can reference other columns in the same table to validate row-level data integrity. For example, CHECK (end_date >= start_date) ensures referential integrity within the row itself.