Triggers are similar to procedures. A trigger stored in the database can include SQL and PL/SQL or Java statements to run as a unit and can invoke procedures.
See Triggers for details.
Just simply click -> Trigger to open
an object pane for Trigger. A right-click displays the popup
menu or using the object pane toolbar below, allowing you to create new, edit
and delete the selected trigger.
Create Trigger
To create a new trigger
- Select anywhere on the object pane.
- Click the
New Trigger from the object pane toolbar.
or - Right-click and select
New Trigger from the popup menu.
- Edit trigger properties on the appropriate tabs of the Trigger Designer.
To create a new trigger with modification as one of the existing trigger
- Select the trigger for modifying in the object pane.
- Right-click and select the
Design Trigger from the popup menu or simply double-click the trigger.
or - Click the
Design Trigger from the object pane toolbar.
- Modify trigger properties on the appropriate tabs of the Trigger Designer.
- Click
Save As.
To edit the existing trigger (manage its general, advance, etc)
- Select the trigger for editing in the object pane.
- Right-click and select the
Design Trigger from the popup menu or simply double-click the trigger.
or - Click the
Design Trigger from the object pane toolbar.
- Edit trigger properties on the appropriate tabs of the Trigger Designer.
To change the name of the trigger
- Select the trigger for editing in the object pane.
- Right-click and select the Rename from the popup menu.
Maintain Trigger
To maintain a trigger
- Select the trigger for maintaining in the object pane.
- Right-click and select the Maintain from the popup menu.
- Enable
- Disable
- Compile
- Compile for Debug
Delete Trigger
To delete a trigger
- Select the trigger for deleting in the object pane.
- Right-click and select the
Delete Trigger from the popup menu.
or - Click the
Delete Trigger from the object pane toolbar.
- Confirm deleting in the dialog window.
Achieve Trigger Information
To achieve a trigger information (Trigger Owner, DB Link and DDL, etc)
- Select the trigger in the object pane.
- Right-click the selected trigger and choose Trigger Information from the popup menu to view the Object Information.
or - Choose View -> Object Information in the main menu.