Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

trigger failed re-validation - how to debug?

419103Aug 12 2004 — edited Aug 12 2004
Hello, I'm using Oracle 9i db with the TORA 1.2.4 client tool and I have created a trigger which "executes successfully" (presumably this just means it compiled OK).

When I activate the trigger by using [in this case] an INSERT statement, my client produces the following error

<<< error message
ORA-04098: trigger 'COMMON.AUTO_USER_ROLES' is invalid and failed re-validation

insert into common.<ERROR>app_users (user_id,user_first_name,user_last_name)
values ('xxx1','xxx','xxx')
>>>

can anyone tell me how the heck I am meant to debug this trigger when it compiles with no problems?

If you want me to post the PL/SQL for the trigger I can, but I'm asking a general question of how to debug compiled triggers that won't work and "fail re-evaluation".


Tora is supposed to have a PL/SQL "debugger" but the interface is confusing and it doesn't seem to support triggers (I'm using Tora version 1.2.4).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2004
Added on Aug 12 2004
1 comment
623 views