Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I compile an ORACLE trigger [closed]

I have an invalid ORACLE trigger.

How can I compile it with SQL*PLUS?

How can I see the status with SQL*PLUS?

like image 309
user1987442 Avatar asked Jan 12 '23 22:01

user1987442


1 Answers

You can recompile using ALTER TRIGGER:

ALTER TRIGGER myTrigger COMPILE

If SQLPlus reports Trigger compiled with errors (or something similar), just type SHOW ERRORS for more information.

like image 83
Ed Gibbs Avatar answered Jan 22 '23 14:01

Ed Gibbs