错误:忽略SQL语句(下划线UPDATE TABLE)
CREATE OR REPLACE TRIGGER CANCEL_TICKET
AFTER INSERT ON CANCEL
FOR EACH ROW
BEGIN
UPDATE TABLE TICKET
SET TICKET.TICKET_ID := NULL
WHERE TICKET.TICKET_ID = :NEW.TICKET_ID;
END;
答案 0 :(得分:2)
不需要 TABLE ,冒号:更多在您的陈述中,所以更好
UPDATE TICKET
SET TICKET.TICKET_ID = NULL