Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个无效的 ORACLE 触发器。
如何用 SQL*PLUS 编译它?
如何查看 SQL*PLUS 的状态?
您可以使用重新编译ALTER TRIGGER:
ALTER TRIGGER
ALTER TRIGGER myTrigger COMPILE
如果 SQLPlus 报告Trigger compiled with errors(或类似的),只需键入SHOW ERRORS以获取更多信息。
Trigger compiled with errors
SHOW ERRORS