Hello,
Environment: Oracle8i
Scenario:
A package/procedure is executed under object owner "A" in db_schema "A". A cursor is retrieving records from a table "B1" from db_schema "B" (via a db_link!) using BULK COLLECT. Ultimately, all the records are INSERTed (via a db_link!) with FORALL INTO a table "B2" from db_schema "B".
Error:
The following error was returned by the Oracle8i database: ORA-02046 distributed transaction already begun
Question:
Is there any conflict between using BULK COLLECT and SELECTing/INSERTing records over database links in Oracle8i?[/color red]
Thank you.
<ruse7013>
Environment: Oracle8i
Scenario:
A package/procedure is executed under object owner "A" in db_schema "A". A cursor is retrieving records from a table "B1" from db_schema "B" (via a db_link!) using BULK COLLECT. Ultimately, all the records are INSERTed (via a db_link!) with FORALL INTO a table "B2" from db_schema "B".
Error:
The following error was returned by the Oracle8i database: ORA-02046 distributed transaction already begun
Question:
Is there any conflict between using BULK COLLECT and SELECTing/INSERTing records over database links in Oracle8i?[/color red]
Thank you.
<ruse7013>