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

Subscribe to our news:
Partners
Testimonials
Brian Vivian: "Thank you very much for making such a great product. It makes my job a LOT easier".
Carl Schammel: "I have been in search of a software product that was rich in features and easy for using, but was unable to find one until I came upon Firebird Maestro. Not only does it have all-inclusive integrated functionality, but SQL Maestro Group have provided me with superior support. I now have the management tools at my hand that I have been looking for".

More

Add your opinion

Firebird Maestro online Help

Prev Return to chapter overview Next

Create Trigger Wizard

Create Trigger Wizard guides you through the process of creating of a new table trigger.

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

 

Specifying trigger properties

In Firebird 1.5 and higher triggers are enhanced to enable them to handle multiple row-level operations conditionally

 

To define a new trigger, you need to set its.

 

Comment

This field contains a comment to the table trigger.

 

 

 

Active

If checked, it is specified that a trigger action takes effect when fired.

 

Event (INSERT, UPDATE, DELETE)

Specifies the table operation that causes the trigger to fire.

 

Type

BEFORE

Specifies that the trigger fires before the associated operation takes place.

AFTER

Specifies that the trigger fires after the associated operation takes place.

 

Position

Specifies firing order for triggers before the same action or after the same action; the number must be an integer between 0 and 32,767, inclusive. Lower-number triggers fire first.

 

Specifying trigger definition

Here you can specify the trigger definition. Specify the trigger steps to be executed when the trigger fires. The step is optional: you can do it later using a non-modal editor.
 

For example, for the table Employee it is possible to create after update save salary change trigger with the following definition:

 

 

 

 



Prev Return to chapter overview Next