Does SQL Server support before and after (pre and post) triggers? What about row vs set triggers?

Neil Pike

July 27, 1999

1 Min Read
ITPro Today logo

A. SQL Server only supports "after" triggers, not "before" ones. You can see what the "before" data is by looking at the virtual tables created that are accessible from the trigger. These tables are called inserted and deleted.

SQL Server triggers only fire once per query, so they are set triggers rather than row triggers.

SQL Server does not support select triggers.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like