Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Laurits Sogaard Nielsen: "Oracle Maestro (and also MS SQL Maestro) are the perfect substitutes for TOAD and in some ways also much better products (they are much cheaper, and the support is fast and easy). I'm looking forward to getting much more experience with both products, that already now have proven themselves to be fantastic".
Bernhard Hartl: "Oracle Maestro works great - thank you for that really good product and the very good User Interface".

More

Add your opinion

Oracle Maestro online help

Prev Return to chapter overview Next

Create Database Trigger Wizard

Create Database Trigger Wizard guides you through the process of creating a new trigger. See How To Create Database Trigger for instructions on running this wizard.

 

 

The basic principles of Create Object Wizards in Oracle Maestro are covered by the corresponding topic. See below to find the description of wizard steps that are unique to the current object.

 

The wizard step was supplied to define common database trigger properties.

 

Name

The field represents the new database trigger name as it was set on the previous wizard step.

 

Is enabled

Check the option to enable the trigger.

 

When fire (Before, After)

Specify Before to cause the database to fire the trigger before executing the triggering event. For row triggers, the trigger is fired before each affected row is changed. Specify After to cause the database to fire the trigger after executing the triggering event. For row triggers, the trigger is fired after each affected row is changed.

 

When condition

Specify the trigger condition, which is a SQL condition that must be satisfied for the database to fire the trigger.

 

Server error

Check the box to fire the trigger whenever a server error message is logged.

 

Logon

Specify the option to fire the trigger whenever a client application logs onto the database.

 

Logoff

Use the option to fire the trigger whenever a client application logs off the database.

 

Startup

Specify the clause to fire the trigger whenever the database is opened.

 

Shutdown

Specify the option to fire the trigger whenever an instance of the database is shut down.

 

Suspend

Use the clause to fire the trigger whenever a server error causes a transaction to be suspended.

 

Specifying trigger definition

Use this step to specify the trigger steps to be executed when the trigger fires. You can also do it later using non-modal editor.



Prev Return to chapter overview Next