problem with trigger and commit [message #370127] |
Tue, 19 December 2000 09:18 |
joel wozniak
Messages: 2 Registered: December 2000
|
Junior Member |
|
|
Hello,
I wrote a after insert or update trigger using dynamic call (DBMS_SQL), to create a database link, to update a table in the remote database and then drop the datbase link.
The code works (I tested in a procedure), but when the trigger is fired I've got the well known 04092 error (commit forbidden in trigger). The problem is, I have no commit or rollback ion my code.
Does dbms_sql package include commit call ?
Best regards,
Joël.
|
|
|
|
|