Skip to content

Commit 6bf9835

Browse files
authored
Update DEFECT_TRIGGERS.sql
1 parent 306f3ac commit 6bf9835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DEFECT_TRIGGERS.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ BEGIN
66
UPDATE ProductLine
77
SET StandQuantity = StandQuantity - 1,
88
DefectQuantity = DefectQuantity + 1
9-
WHERE ProductID IN (SELECT ProductID FROM inserted)
10-
END;
9+
WHERE ProductLineID IN (SELECT ProductLineID FROM inserted)
10+
END;

0 commit comments

Comments
 (0)