What is Trigger in SQL? Explain

In SQL, a trigger is a database object that is associated with a table. It will be activated when a defined action is executed for the table. It can be performed when you run one of the following SQL like INSERT, UPDATE and DELETE occurred in a table. It's activation time can be BEFORE or AFTER.

Suggest An Answer

No suggestions avaliable!

Latest post from SQL Interview Questions

Ask Question