What is the purpose of constraints in DB2?

  • Ensure data integrity
  • Improve query performance
  • Organize data hierarchically
  • Simplify database administration
Constraints in DB2 ensure data integrity by enforcing rules on the data that is entered into a table. This helps maintain consistency and accuracy of data, preventing invalid or inconsistent data from being inserted. 
Add your answer
Loading...

Leave a comment

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