Any utility to auto-transfer table from one DB to another DB
Posted in 2000
Topics: General Discussion
Hi, I have a set of scripts to do drop-create-load-index a collection of tables from one database to another database. However, all target table schema has an extra field, sysflag char(1), as the first field. Is there any utility can automate this process? Any help would be greatly appreciated. Thanks. Regards, Jouhshen
Use dbload to do the reload portion. The .cmd file would look like:
{BEGIN atable.cmd}
FILE "atable.unl" delimiter "|" 7;
insert into atable values ("1", f01, f02, f03,.....,f07);{END atable.cmd}
Art S. Kagel
JouhShenToh@pg.SLR.com wrote:
>
> Hi,
>
> I have a set of scripts to do drop-create-load-index a collection of tables
> from one database to another database. However, all target table schema has
> an extra field, sysflag char(1), as the first field.
>
> Is there any utility can automate this process? Any help would be greatly
> appreciated. Thanks.
>
> Regards,
> Jouhshen