Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (9k points)
What is a Trigger in SQL?

1 Answer

0 votes
by (45.3k points)

A Trigger in SQL is a stored database procedure that automatically gets invoked when any special event occurs in the database. They can be invoked when you insert or update any set of rows or columns. The trigger can be executed before or after the execution of the SQL statement. The before triggers run the action of the trigger before running the triggering statement. The after triggers, on the other hand, run the action of the trigger after running the triggering statement.

To learn more about triggers in SQL, you must take the SQL Training Course offered by Intellipaat. As part of this course, you will learn many key topics. Some of them are mentioned below:

  • SQL Server Management Studio (SSMS)
  • SQL Table basics
  • Functions and data types in SQL
  • Data control language

You can also watch this comprehensive YouTube tutorial on SQL:

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked May 4, 2023 in SQL by neelimakv (32.5k points)
0 votes
1 answer
0 votes
1 answer

Browse Categories

...