Creating Trigger in SQL Server Table

SQL Trigger
Trigger is a action which will perform when the table gets insert, update or delete. We can choose the options on what the trigger should get invoked and create the syntax as below

CREATE Trigger triggername
ON tblname
FOR INSERT,UPDATE,DELETE -- We can add or remove the criteria here

-- Action steps needs to carried out should be given here.


Creating Trigger in SQL Server Table was last modified: November 15th, 2017 by Justin Antony

About Justin Antony

Leave a Reply

Your email address will not be published.