Re: Replication and 2phase commit protocol - need fast answer
Posted in 1998
Karol Popovic wrote: > > Hi all! > > Could anybody tell me something or advice some literature about > replication and 2-phase commit protocol between Microsoft SQL Server 6.5 and > Informix? I need control writing into 2 tableswhere, first of them is on > Informix and second on MS SQL Server. The first is subset of the second. > Data must be written to both tables or nowhere. Neither Informix nor MS SQL Server will perform either 2-phase commit or replication with a foreign server. You will have to implement 2-phase commit and rollback protocols yourself at the application level. Since neither server has a API to get partial commit confirmation you will have to save undo information and be prepared to reverse inserts, deletes, and updates manually if the commit fails on the secondary server. Art S. Kagel