Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> "Execute immediate" in a trigger

"Execute immediate" in a trigger

From: NoName <nobody_at_nowhere.com>
Date: Thu, 15 Jan 2004 17:49:08 +0100
Message-ID: <bu6fv7$8eo$1@fata.cs.interbusiness.it>


Hello,

is it possible to write an 'execute immediate' command inside a "create trigger after insert" ?
Oracle answers with a "ORA-04092: cannot COMMIT or ROLLBACK in a trigger", even if I do not explicitily commit anything, and it seems it is caused by the 'execute immediate' statement I wrote.

The statement is a 'create or replace view'.

Thanks Received on Thu Jan 15 2004 - 10:49:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US