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
I had to remove the execute.
But now, I get this error.
4/1 PL/SQL: Statement ignored
4/53 PLS-00707: unsupported construct or internal error 
Last edited by kburrows; 10-03-2011 at 04:04 PM.
Click Here to Expand Forum to Full Width