I am using SQL Server 2008 R2. I have almost 106+ tables in database and now I need to load data from these tables into another database.
Table structure of source and destination database are same. There is a status table in the database and all tables have a Primary Key ID field. All the tables have Primary key and Foreign key relationship.
Status table contain the ID field of tables and anther column contain a status of related ID field that this ID has completed its task.
I need to transfer data those ID number will match with Status table where ID status is 1 or something like this. I need to insert Identity column also, and because of all the table have PK and FK relationship so i have to insert data into tables with referential constraints.
So, my questions here is: To fulfill my above scenario how can I load data from multiple tables to multiple tables by using SSIS because it is not one time thing.