Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SQL Server Syntax
- -- Trigger on an INSERT, UPDATE, or DELETE statement to a table or view (DML Trigger)
- CREATE [ OR ALTER ] TRIGGER [ schema_name . ]trigger_name
- ON { table | view }
- [ WITH <dml_trigger_option> [ ,...n ] ]
- { FOR | AFTER | INSTEAD OF }
- { [ INSERT ] [ , ] [ UPDATE ] [ , ] [ DELETE ] }
- [ WITH APPEND ]
- [ NOT FOR REPLICATION ]
- AS { sql_statement [ ; ] [ ,...n ] | EXTERNAL NAME <method specifier [ ; ] > }
- <dml_trigger_option> ::=
- [ ENCRYPTION ]
- [ EXECUTE AS Clause ]
- get link:https://ouo.io/yThDCi
Add Comment
Please, Sign In to add comment