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

Subscribe to our news:
Partners
Testimonials
Albert Rognan: "Thank you for this quick reply. I must say I am impressed of the number of functions that is available within this tool".
Lynn Armbruster: "Thank you. I found Maestro easy to use and so far a great tool".

More

Add your opinion

MS SQL Maestro online Help

Prev Return to chapter overview Next

Editing DDL trigger properties

Specify DDL Trigger options according to your needs. The detailed description is given below.
 

Definition

The field contains the definition of the DDL trigger. It describes the trigger conditions and actions. The trigger actions specified in the Transact-SQL statements go into effect when the DDL operation is tried. Triggers can include any number and kind of Transact-SQL statements, with exceptions.

 

Name

Displays the DDL trigger name.

 

Comment

Specify a comment to the DDL trigger.

 

Create Date

Indicates the date when the DDL trigger was created.

 

Modify Date

Indicates the date when the DDL trigger was last modified.

 

Encrypted

Encrypts the text of the CREATE TRIGGER statement. Using Encrypted prevents the trigger from being published as part of SQL Server replication.

 

Execute As

Specifies the security context under which the DDL Trigger is to be executed (For details see Execute As Clause (Microsoft SQL 2005 References)).

 

Events

This field allows you to specify the events execution of which causes a DDL trigger to fire. Click ellipse button (...) on the right of the events text area to select this events or event groups using the Add Event Dialog.

 

 Enabled

Disabling a trigger does not drop it. The DDL trigger still exists as an object in the current database/server. However, the DDL trigger does not fire when any Transact-SQL statements on which it was programmed are executed.

 

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