Previous Topic: Oracle Triggers Editor - Table TriggersNext Topic: Oracle Views Editor


Oracle Triggers Editor - Views Triggers

When you select Triggers from the Database menu and select View Triggers, the Oracle Trigger Editor opens with specific options for View Triggers. The following describes the options available for View Triggers:

Views

A drop-down list where you can select the view to which you want to apply the trigger. This list does not include read-only views.

Triggers

Contains all the available triggers based on the selected view.

Owner

You can enter a name in this text box to assign a database Owner to the selected trigger.

New

Opens the Create Trigger dialog where you can specify the name for the new trigger.

Rename

Opens the Rename Trigger <Trigger Name> dialog where you can assign a different name to the selected trigger.

Delete

Select a trigger from the Triggers list box that you want to delete, and click the Delete button.

Generate

Generates a CREATE TRIGGER statement for the trigger in the schema generation script.

Create or Replace

Select this check box if you want the trigger DDL that is generated during Forward Engineering to replace any occurrence of an identically-named trigger. If this check box is not selected, the trigger DDL generated will only attempt to create the object and will not attempt to replace it.

DB Sync

Starts the Complete Compare task so you can synchronize the physical objects defined in your model with the information stored on the server.

The Oracle Trigger Editor for view triggers also includes the following tabs:

Table Options

Specifies general information for a trigger, such as the action for which the trigger should fire, when it should fire, how it should fire, and so on.

When

Specifies a When condition that applies to a trigger.

Code

Specifies code (including macros) to a trigger.

Expanded

Displays the entire code assigned to a trigger. Code is read-only in this tab.

Comment

Lets you enter any comments that you want to associate with the object.

UDP

Lets you enter user-defined property values for the object.

Notes

Lets you view or edit user notes.