Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
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".
DavidNR: "MS SQL Maestro is a great app. Loved it. I only used it for its blob support thus far, very nice and very fast".


Add your opinion

MS SQL Maestro online Help

Prev Return to chapter overview Next

Create CLR Trigger Wizard

Create CLR Trigger Wizard guides you through the process of creating a new CLR trigger. See How To Create CLR trigger for instructions on running this wizard.

The basic principles of Create Object Wizards in MS SQL Maestro are explained in a separate topic. Below you will find a description of wizard steps that are unique for the current object.


Specify CLR trigger options according to your needs. The detailed description is given below.

Supply a comment for the new CLR trigger.


Execute As

Specifies the security context under which the CLR trigger is to be executed.



Defines the type of the CLR trigger. Possible values are After (specifies that the trigger is fired only when all operations specified in the triggering SQL statement have been executed successfully) and Instead of (specifies that the trigger is executed instead of the triggering SQL statement, therefore, overriding the actions of the triggering statements).



Specifies the data modification statements that activate the trigger when it is tried against this table or view. At least one option must be specified. Any combination of these options in any order is allowed in the trigger definition.



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


 Not For Replication

When checked, it is indicated that the trigger should not be executed when a replication agent modifies the table that is involved in the trigger.


Assembly, Class, Method

Specifies the method of a .NET Framework assembly for a CLR stored function to reference. Class must be a valid SQL Server identifier and must exist as a class in the Assembly. The assembly is to be created in the database beforehand.


See also: Assemblies

Prev Return to chapter overview Next