Help Center/ GaussDB/ Distributed_8.x/ FAQs/ What is the function of a trigger?
Updated on 2024-06-03 GMT+08:00

What is the function of a trigger?

Answer: A trigger is a special stored procedure that is triggered and executed by events.

  • Constraints can be strengthened to maintain data integrity and consistency.
  • Operations in the database can be traced. Unauthorized updates and changes are not allowed.
  • Concatenated operations can be performed.