JenniferCheng
Programmer
I use 5 DTS packages to combine 5 tables (T1, T2, …, T5) of 5 databases to one table Sam. All these 5 tables have same primary key S_code and value of S_code is from 1 to 200. I use DTS to transport record in 5 tables to Table Sam. Since there is duplicate S_code, after run first DTS to transport table T1 to Table Sam, I can not run other DTS packages successfully.
How can I change S_code value when using DTS, such as: for T1, set S_code = S_code+ 1000; for T2, set S_code = S_code + 2000; for T3, set S_code = S_code + 3000; for T4, set S_code = S_code + 4000; for T5, set S_code = S_code + 5000;
If I don’t change S_code value, how can I combine 5 tables to one table?
Thanks.
Jennifer
How can I change S_code value when using DTS, such as: for T1, set S_code = S_code+ 1000; for T2, set S_code = S_code + 2000; for T3, set S_code = S_code + 3000; for T4, set S_code = S_code + 4000; for T5, set S_code = S_code + 5000;
If I don’t change S_code value, how can I combine 5 tables to one table?
Thanks.
Jennifer