CommencerCommencer gratuitement

Re-enabling a disabled trigger

You helped the company update the Orders table by disabling the PreventOrdersUpdate trigger. Now they want the trigger to be active again to ensure no unwanted modifications are made to the table.

Cet exercice fait partie du cours

Building and Optimizing Triggers in SQL Server

Afficher le cours

Instructions

  • Re-enable the disabled PreventOrdersUpdate trigger attached to the Orders table.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

-- Resume the trigger execution
___ ___ ___
ON ___;
Modifier et exécuter le code