Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Correction TP7_EX 1 Trigger.docx
1. Correction TP7: EX1 -Triggers
/*EXE14*/
CREATE OR REPLACE TRIGGER pilote_insert
BEFORE INSERT ON pilote
FOR EACH ROW
BEGIN
IF (:NEW.sal < 300.00)
THEN
:NEW.sal := 700.00;
END IF;
END;
/