Trigger calling a stored procedure
I keep getting an error when compiling this trigger. thanks,
I can run the send mail proc by itself, but from within the trigger I get
Error(12,15): PLS-00103: Encountered the symbol "SEND_MAIL" when expecting one of the following: := . ( @ % ; immediate The symbol ":=" was substituted for "SEND_MAIL" to continue.
CREATE OR REPLACE TRIGGER "BU_ENTITY_TEST" AFTER
UPDATE OF "FACILITY_MANAGED_SECURITY_FLAG"
ON "ENTITY_TEST" FOR EACH ROW
IF (:NEW.FACILITY_MANAGED_SECURITY_FLAG = -2) THEN