Skip to content
Advertisement

How can I resolve “success with compilation error” error while creating trigger in Oracle PL/SQL?

I am trying to create a trigger that updates “event” table rather than updating the “v_event” view.

When I run this script I get “success with compilation error” error.

enter image description here

What am I doing wrong?

Advertisement

Answer

Pay attention to what you do.

In order to find out what went wrong, either

immediately after you see the error (if your tool supports it; SQL*Plus does), or query user_errors:


Fixed, it looks like this:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement