Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle error on VB (ORA-04091)

Status
Not open for further replies.

Ultdrake

Programmer
Joined
Jul 15, 2002
Messages
19
Location
CA
ORA-04091 table mutating, trigger/function may not see it...

After a research I find many solution in PL/SQL But i'm working on a VB program, I know the problem is cause by the an update on Primary Key and I try DROP all Constraint and recreate it after the update withoput sucess... I'm a bit lost, can u help me? thanks...

Fred
 
Hi,
I think you have a trigger or a PL/SQL function that is referenced in this statement, is attempting to modify a table that was in the middle of being modified by the statement which fired it.

What u need to do is,re-write the function/code such that it does not reference the table.

rohan

 
Dropping constarints here is not a solution
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top