Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to transfer multiple tables data from one database to other database with some condition.

$
0
0

I have to transfer multiple table data from one database to other database with some condition.

Let see I have 50 tables in my DB_A and I want to transfer 50 tables in DB_B with condition. I want to keep only last 6 months of data records in DB_A tables, rest of the data I want to transfer in DB_B tables. So once I transfer 6 months of record from DB_A tables to DB_B tables I will delete records from DB_A tables.

Each tables in DB_A and DB_B have same structure and each table has one common column is “created Date”.

Import export is not an option if you have to put any conditions for each table.

I also don’t want to create 50 control flow / data flow in SSISpackage because those tables may be 70 in future.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>