Copy Data Nightly?

Posted on 2008-06-25
Medium Priority
Last Modified: 2010-04-21

I am using SQL 2005

I have a database that contains just one table and I would like to copy the data to 3 other tables that are in different databases.   If a column gets added to the source database table AND the data has changed for example in that column, I want to ensure when the copy process starts, it either drops the table on the destination databases and then re-creates the table and pushes the data across.   How can I do this in a way that will keep my constraints and everything intact.

Say the source database has a table called "Employees".  The columns are:


I would like to copy the schema and the data and push it to 3 other destination/target db each night at midnight.

Any help appreciated


Question by:Westside2004
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 15

Expert Comment

ID: 21913021
If you use the import/export wizard to generate a SSIS package, and then run this package with the sql server agent?

Author Comment

ID: 21930155

How can I automate this though?

LVL 15

Accepted Solution

jorge_toriz earned 2000 total points
ID: 21930320
Right click in your database and then choose tasks - import/export data... this wizard will guide you to generate a SSIS package... then, IN THE WIZARD save the package in sql server.

In your sql server agent, add a job that execute this package.

Author Closing Comment

ID: 31470771

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are some very powerful Dynamic Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a di…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question