Originally posted by DreamersDelight
PL/SQL Trying to update a table through trigger on the same table
Collapse
X
-
-
-
Originally posted by DreamersDelightThe error I get isI'm not shure what you mean by that.
[code=oracle]
select object_name,sta tus from all_objects where UPPER(object_na me) IN ('your triggername in CAPS','your procedure name in caps','your table name in caps','any other object that you make use of in your coe in caps');
[/code]Comment
-
-
Originally posted by DreamersDelightEverything returns valid.Comment
-
Originally posted by amitpatel66Try one thing, just comment out the procedure call and then fire the trigger. Lets see if this is because a procedure is performing a DML that is called from a trigger.Comment
-
Originally posted by DreamersDelightOk, I did what you asked and commented out the update, the trigger fired fine, and the temptable was created succesfully.Comment
-
Originally posted by amitpatel66So the call to a procedure from a trigger is causing a problem here right. Try this: Make the procedure an Autonomous by adding PRAGMA derivatives, and then try calling a procedure from a trigger and check if it works?Comment
Comment