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

Subscribe to our news:
Partners
Testimonials
Fayvor Love: "Sweet! Finally a clean-looking ERD tool that understands the mysql data types, with forward and reverse engineering".
Peter W Rasmussen: "Just checking out on MySQL Maestro - really nice product".

More

Add your opinion

SQL Maestro for MySQL online help

Prev Return to chapter overview Next

Trigger Editor

Trigger Editor can be opened automatically after the trigger is created and is available on editing the trigger.

The basic principles of Object Editors in SQL Maestro for MySQL are explained in a separate topic. Below you will find a description of editor tabs that are unique for the current object.

 

 

The main tab of the editor consists of several parts:, trigger definition, and trigger properties.

 

Definition

Defines the trigger conditions and actions.

 

Properties

Name

Here you can view and change the trigger name.
 
 

Note: the name of the object must be unique among all the object names in its container. Moreover, all the objects that are source of data need unique names among themselves. You can use any identifier that is allowed by MySQL server.

Comment

This field contains a comment to the trigger.

 

Time(Before, After)

Determines whether the function is called before or after the event.

 

Event (Insert, Update, or Delete)

Specifies the event that will fire the trigger.

To apply the changes, select the Apply Changes item in the Navigation bar or use Ctrl+F9 or Ctrl+F7 shortcut keys.

 

It is also possible to modify object properties without opening the object editor: use the Object Properties item of the popup menu of the selected object from the explorer tree.



Prev Return to chapter overview Next