Re: Informix error 568
Posted in 1998
Bill Ennis wrote: > > Both databases need to be in logging mode in order to use in the same > program. Since you are just copying all records you may want > to just script this. Bill, FYI, you CAN do this in a single program using separate connections for each database. Get the source to my dbcopy.ec utility that does EXACTLY what Saneev needs done (he has downloaded it BTW). Dbcopy also avoids the long transaction and lock table overflow problems you allude to by committing every N rows. The program is in the utils2_ak submission I made to the IIUG Software Repository. The latest version (v1.7) uses the FetchArray feature and PUT buffering to run 3X faster than the original submission which was no slouch. > > Informix IDS 7.30.UC2 on Solaris 2.5.1 > > > > I am having one stored procedure which simply do a > > copy of the table from one database to another > > database. The problem is > > > > Database1-logging > > Database2-nologging [SNIP] Art S. Kagel