I have a huge pl / sql stored procedure where we do some deletion until insertion. The procedure begins with approval
EXECUTE IMMEDIATE 'SET CONSTRAINTS ALL DEFERRED'
And in the last commit statement, I get ORA-02292: AAA integrity violation violated. The questions are that I donβt know which operator exactly calls it, because I have deletion from the parent table (to the child table) and pasting into the child table in front of the parent. I tried to do this, but everywhere he said that 02292 happens when I try to delete only.
Can this error happen when I try to insert a value in a child table, but there is no this record in the parent?
Also, what is the difference between 02292 and 02291?
source share