how to create trigger in sql

 create trigger sql

How to CREATE TRIGGER statement allows you to create a new trigger that is fired automatically whenever an event such as INSERT, DELETE, or UPDATE occurs against a table.

CREATE TRIGGER syntax

CREATE TRIGGER [schema_name.]trigger_name

ON table_name

AFTER {[INSERT],[UPDATE],[DELETE]} [NOT FOR REPLICATION]

AS {sql_statements}

Example trigger for oracle peoplesoft

Posted in SQL.