MS SQL Maestro online Help
CLR Triggers
You can build CLR triggers using the SQL Server integration with the .NET Framework common language runtime (CLR).
Table CLR Triggers are managed within the CLR triggers tab of Table Editor.
CLR triggers are created within Create CLR Trigger Wizard. In order to run the wizard you should either
• | open the table in Table Editor and the CLR Triggers tab there; |
• | press the Insert key or select the Add CLR New Trigger... item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
or
• | select the table in the explorer tree and use the Create New CLR Trigger... popup menu item |
or
• | select the table CLR Triggers node or any trigger within the table in the explorer tree and use the Add New CLR Trigger... |
|
CLR triggers are edited within the CLR Trigger Editor dialog window. In order to open the dialog you should either
• | open the table in Table Editor and the CLR Triggers tab there; |
• | press the Enter key or select the Edit CLR Trigger item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
or
• | select the trigger to edit in the explorer tree and use the Edit CLR Trigger popup menu item. |
|
To drop the CLR trigger:
• | select the CLR trigger to drop in the explorer tree; |
• | select the Drop CLR Trigger item from the popup menu |
or
• | open the table in Table Editor and the CLR Triggers tab there; |
• | press the Delete key or select the Drop CLR Trigger item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar) |
and confirm dropping in the dialog window.
|