Showing Trigger DBMS_OUTPUT.PUT_LINE in Oracle Apex
问题 I have a trigger: CREATE OR REPLACE TRIGGER Med_Allergy_Warning BEFORE INSERT ON Prescription FOR EACH ROW BEGIN IF (Find_ADR(:NEW.Visit_ID, :NEW.Medication_ID) != 'GOOOO') THEN DBMS_OUTPUT.PUT_LINE('Medication ('||:NEW.Medication_ID||') May cause an allergic reaction… You are warned!'); ELSE DBMS_OUTPUT.PUT_LINE('Medication ('||:NEW.Medication_ID||') was prescribed successfully!'); END IF; END;/ That outputs a DBMS_OUTPUT.PUT_LINE whenever a user enters a prescription that may cause allergic