Machine-translated by Google. Questions are authored in English.
Top

Discussion

______is a preferred method for enforcing data integrity
 

  • A.Constraints
  • B.Triggers
  • C.Stored procedure

  • D.Cursors

Answer: A

Correct answer: Constraints

Constraints are declared as part of the table definition, so the DBMS itself enforces them on every operation and no path can bypass them. A trigger can enforce a rule too, but it is code that has to be written correctly and runs after the fact.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.