Board index » delphi » Updating 2 databases
Leo
![]() Delphi Developer |
Updating 2 databases2004-11-19 08:50:15 PM delphi270 I have 2 connections to 2 databases (one MS SQL and one Oracle) - I have to update a table on MS SQL and, IF that update work, I have to update an table on the Oracle db. But I have to do that on a "while" loop, and update more than 1 record (in both db). I tried to open transaction to the 2 databases, do the updates and if nothing goes wrong, commit both, or rollback. Well, it is not working - It gives me the error: "Error creating cursor handle" - I can not create two transactions, even in diferrent connections? how can I correctly manage that operation? I'm connecting to Oracle in runtime using only a tdatabase. |