viewing paste Unknown #18085 | SQL

Posted on the
1 2 3 4 5 6 7 8 9
CREATE TRIGGER `ins_nyersRaktar_dateCheck`
BEFORE INSERT
ON `nyers_raktar`
FOR EACH ROW
BEGIN
        IF NEW.atvetel > NEW.lejarat THEN
        SIGNAL sqlstate '45001' SET message_text = "A termek mar lejart.";
        END IF;
END
Viewed 644 times, submitted by Aciv.