refresh ad-hoc table list from one server to another using SSIS?

The main database in Server A has 700 tables... but there is a database in ServerB that will have only a subset of it. (75-100 tables)..

This list can vary from week to week or month to month.. and when there is a request to refresh the data, all the data of tables in the list has to be sent over with the replace.

if the list is modified and some tables are added and some removed.. that should be reflected in the next refresh run.

what tasks are needed to get this done in SSIS?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

How are you adding the tables. If it is a direct import or any such sort of thing using SSIS, you can create a reference table which has the information of all the tables that needs to be refereshed. Now build you query using this reference table to sync the tables required.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
25112Author Commented:
yes, i will create a reference table which will hold the latest set of tables that need data in serverb.

i am open to any feature of ssis that can help.. but if we can automate as much as possible , is the best.

for example, if the reference table added a new table xyz, is it possible to send the script of xyz automatically to the serverb and then do the transfer through another task? or should it be manually copy the new table schema and pasting and running it in serverB and then initiating a task for transfer?

this may have to done frequently, so looking for best possible solution for long term

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.