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

Subscribe to our news:
Partners
Testimonials
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".
Andrey Bistriy: "In our daily business we face the database management and refactoring. We were pleasantly surprised to discover SQL Maestro. After trying it out we started to use it on a regular basis".

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 explained in a separate topic. Below you will find a description of wizard steps that are unique for 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