Aan de slagGa gratis aan de slag

Removing unwanted triggers

After some time, the Fresh Fruit Delivery company notices that some of the triggers they requested are no longer needed. Their workflow has changed and not all of the triggers are used now.

It's a good practice to have your database clean and up-to-date. Unused objects should always be removed after proper confirmation from the involved parties.

The company calls to ask you to help them remove the unused triggers.

Deze oefening maakt deel uit van de cursus

Building and Optimizing Triggers in SQL Server

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

-- Remove the trigger
___ TRIGGER PreventNewDiscounts;
Code bewerken en uitvoeren