A database
trigger is a code or programs that automatically execute with response to some
event on a table or view in a database. Trigger helps to maintain the integrity
of the database.
Example: When a new student
is added to the student database, new records should be created in the related
tables like Exam, Score and Attendance tables.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
A database trigger is a code or programs that automatically execute with response to some event on a table or view in a database. Trigger helps to maintain the integrity of the database.
Example: When a new student is added to the student database, new records should be created in the related tables like Exam, Score and Attendance tables.