BaşlayınÜcretsiz Başlayın

PreventOrdersUpdate in action

Let's see what the newly created trigger does when you try to update some rows in the Orders table.

Run the following script to change the order quantity to 700 for order number 425:

UPDATE Orders SET Quantity = 700 WHERE OrderID = 425;

What happens when you run the code?

Bu egzersiz

Building and Optimizing Triggers in SQL Server

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat