Archives of the TeradataForum
Message Posted: Tue, 14 Oct 2003 @ 13:22:01 GMT
Subj: | | Re: Migrating Oracle to Teradata (I need help) |
|
From: | | Muhammad Altaf |
You can use SQL to handle the history. For this purpose you can either use the FastExport - Multiload approach or you can use the insert
/ select technique. In either case you should (left outer ) join the source table with the target table, and if the rows doesn't match then
you have to generate a key (using CSUM or any such function, if you are using V2R5 you can use identity column) and for those rows which
exist in the target table flag them with with some value (during export) and while multiloading the record use update / insert dml etc.
Beside this if you want to go for C style programming you can use PP2 or CLI programming to perform the steps in some how similar way as
you are doing with existing setup.
Hope it will be of some help to you.
Regards,
Muhammad Altaf
Professional Services Consultant
Teradata Certified Master
|