Home › Glossary › DML trigger

DML trigger

Code that SQL Server runs automatically, inside the same transaction, whenever someone tries an INSERT, UPDATE or DELETE on a table or view. It can query the inserted and deleted tables to see what changed.

Read more: Microsoft Learn

In the Ultra Transcenders books

DP-800

Each book explains DML trigger in context, with comparison tables and the common traps.

Terms in this definition

Related terms

See DML trigger in the full glossary