Your browser does not support JavaScript. This help page requires JavaScript to render correctly. Creating Triggers
Skip Headers
Previous
Previous
 
Next
Next

Creating Triggers

To create triggers, use either the SQL Developer tool Create Trigger or the DDL statement CREATE TRIGGER. This topic shows how to use both of these ways to create triggers.

By default, a trigger is created in the enabled state. To create a trigger in disabled state, use the CREATE TRIGGER statement with the DISABLE clause.

Note: To create triggers, you must have appropriate privileges; however, for this discussion and simple application, you do not need this additional information.

This section contains:

Note: To do the tutorials in this document, you must be connected to Oracle Database as the user HR from SQL Developer. For instructions, see "Connecting to Oracle Database as User HR from SQL Developer".

Related Topics

Oracle Database SQL Developer User's Guide

Oracle Database PL/SQL Language Reference

Editing Installation Script Files that Create Triggers

Using Triggers