Scenario: A developer needs to create a relationship between two tables in DB2, ensuring referential integrity. Which constraint should they implement?

  • Check Constraint
  • Foreign Key Constraint
  • Primary Key Constraint
  • Unique Constraint
A Foreign Key Constraint establishes a relationship between two tables, ensuring referential integrity by enforcing that values in one table must exist in another table's specified column. This constraint maintains the integrity of the relationship between tables. 
Add your answer
Loading...

Leave a comment

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