Prevent Insert Trigger
问题 How can I get this trigger to prevent the insert where the advance is not greater than 0 or less than 100? Thanks. DROP TRIGGER CheckAdvance; CREATE OR REPLACE TRIGGER CheckAdvance BEFORE INSERT OR UPDATE OF advance ON titles FOR EACH ROW WHEN (new.advance<0 OR new.advance>100) BEGIN dbms_output.put_line('Advance is Invalid.'); END; 回答1: "it was a class question." I had a chat with a university lecturer who taught PL/SQL after I gave a presentation at a conference. My talk was on PL/SQL good