Hi All,
I want to create a trigger in oracle , but apparently i am wrong -> i am getting the Ora-04091 error.
Basically , i have a table "A" which has 5 columns. I am now adding a 6th column to this table. The 6th column is supposed to have information derived from the first 3 columns ( eg: if column1 = YES and Column2 = NO and column3=YES then column6 should be "CATEGORY 1". Now , inorder to derive this information , i will have to create a trigger on table"A", but inside the trigger , i cannot read from the same table "A". The app people cannot change their code at this point and i cannot see anyother way than a trigger to handle this situation automatically. Any idea what i have to do?
Regards,
S. Jayaram Uparna .
I want to create a trigger in oracle , but apparently i am wrong -> i am getting the Ora-04091 error.
Basically , i have a table "A" which has 5 columns. I am now adding a 6th column to this table. The 6th column is supposed to have information derived from the first 3 columns ( eg: if column1 = YES and Column2 = NO and column3=YES then column6 should be "CATEGORY 1". Now , inorder to derive this information , i will have to create a trigger on table"A", but inside the trigger , i cannot read from the same table "A". The app people cannot change their code at this point and i cannot see anyother way than a trigger to handle this situation automatically. Any idea what i have to do?
Regards,
S. Jayaram Uparna .