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

Subscribe to our news:
Partners
Testimonials
Mario Figueiredo: "I can safely forget all I know about SQL when using SQLite Maestro. It is that easy and intuitive to use. It is also nicely drawn with an easy and appealing interface that makes the sometimes boring tasks of database maintenance and administration more endurable.
The decision to support the non-commercial use of your software with a lower price is absolutely worth mentioning. For that alone, I thank you. For everything else, I say keep up the good work".
Ron D.: "I'm still very happy with SQLite Maestro and Data Wizard; makes my HTPC database much easier to manage".

More

Add your opinion

SQLite 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 SQLite 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

 

To define a new trigger, you need to set itsType (Before, After). This option determines whether the function is called before or after the event.

 

Event

One of Insert, Update, or Delete; this specifies the event that will fire the trigger.

 

Field list

This is available when Update of option is selected in Event select. You can specify which fields are to be updated to cause the trigger being fired.

 

When expression

If you supply when expression, the SQL statements specified as trigger steps are only executed for those rows for which the WHEN clause is true. If no WHEN clause is supplied, the SQL statements are executed for all rows.

 

Specifying trigger definition

Here you can specify the trigger definition. Specify the trigger steps to be executed when the trigger fires. Trigger steps can be SQL statements (update, select, insert, or delete).  The step is optional: you can do it later using a non-modal editor.

 

 

 

 



Prev Return to chapter overview Next