Previous Topic: Oracle Triggers Editor - Table Triggers - General TabNext Topic: Oracle Triggers Editor - Database Triggers


Oracle Triggers Editor - Views Triggers - Table Options Tab

Use the Oracle Trigger Editor to define the stored procedures that exist for a view in an Oracle physical model.

To define an Oracle view trigger

  1. Right-click the view for which you want to define a trigger and click Trigger Properties.

    The Oracle Trigger Editor opens.

  2. Select the view trigger in the Navigation Grid that you want to define and work with the following options:

    Note: Click New New icon in property editors to create a new object on the toolbar to create a new view trigger. Use the Enter filter text box to filter a very large list of view triggers to quickly locate the one that you want to define.

    View

    Displays the view to which the trigger belongs. You can use the drop-down control to select a different view.

    Name

    Displays the view trigger name. You can change the trigger name in this field.

    DB Owner

    Lets you assign the database owner for the view trigger. Enter the database owner in this field.

    Use Replace Syntax

    Specifies to use REPLACE syntax for the view trigger. 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.

    Generate

    Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.

  3. Click the General tab and specify execution information for the view trigger.
  4. Click the Code tab to define the code type for the view trigger.
  5. Click the Expanded tab to view expanded code for the view trigger.
  6. (Optional) Click the Comment tab and enter any comments that you want to associate with the view trigger.
  7. (Optional) Click the UDP tab to work with user-defined properties for the view trigger.
  8. (Optional) Click the Notes tab to view history associated with the view trigger and to add or view user notes.
  9. Click Close.

    The view trigger is defined and the Oracle Trigger Editor closes.