The Action Clause of INSTEAD OF Triggers
When the trigger event for the specified view is encountered,
the SQL statements of the trigger action are executed, instead of
the triggering statement. Triggers defined on a view support the following
syntax in the action clause.
(explicit id aciot002)
aciot002
(explicit id aciot003)
aciot003
(explicit id aciot004)
aciot004
(explicit id aciot005)
aciot005
(explicit id aciot006)
aciot006
INSTEAD OF Triggered Action
( { | <INSERT Statement>[] | <DELETE Statement>[] | <UPDATE Statement>[] | <EXECUTE PROCEDURE Statement>[] | <EXECUTE FUNCTION Statement> [] } )
This is not identical to the syntax of the trigger action for a trigger on a table, as described in the section Triggered Action on a Table. Because no WHEN (condition) is supported, the same trigger action is executed whenever the INSTEAD OF trigger event is encountered, and only one action list can be specified, rather than a separate list for each condition.
1 See INSERT statement
2 See DELETE statement
3 See UPDATE statement