The FOREIGN KEY constraint in DB2 enforces ________.

  • Consistency of data types across tables.
  • Referential integrity between tables.
  • The presence of NULL values in specified columns.
  • Unique values within a column.
The FOREIGN KEY constraint in DB2 enforces referential integrity between tables by ensuring that values in a column (or combination of columns) in one table exist as values in another table's referenced column (typically the primary key). 
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *