Home » RDBMS Server » Server Administration » Trigger Err (Insert into another DB)
Trigger Err (Insert into another DB) [message #52931] Wed, 21 August 2002 02:00 Go to next message
Pixie Tan
Messages: 3
Registered: June 2002
Junior Member
I was trying to do an application which will delete the records at a scheduled time. Upon deletion, a trigger will be triggered to do an insert to a table of another DB. However, I was prompted an error "ORA-02041:client database did not begin a transaction". I had created and tested the DBLink. Can anybody advise? Thanks in advance.

CREATE OR REPLACE TRIGGER "Ouser"."TINSERT_T" AFTER DELETE
ON "Ouser"."CL"
FOR EACH ROW BEGIN
insert into test@DB1 values ('1');
end;
Re: Trigger Err (Insert into another DB) [message #52935 is a reply to message #52931] Wed, 21 August 2002 04:35 Go to previous message
Mahesh Rajendran
Messages: 10708
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
1. if you have the microsoft transaction options turn
   them off.
2. Make sure, the DML u are using is not causing a
   commit inside a trigger.

Previous Topic: ORA-01033 ERROR!!!!!!!!!!!
Next Topic: question
Goto Forum:
  


Current Time: Thu Dec 26 10:37:46 CST 2024