Microsoft interview question

what are triggers in SQL

Interview Answer

Anonymous

22 June 2025

SQL triggers are stored procedures that automatically execute in response to certain events in a specific table or view in a database. They are used to maintain the integrity of the data, enforce business rules, and automate tasks