Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Copy two databases into one

Author  Topic 

kopzen
Starting Member

34 Posts

Posted - 2009-03-18 : 09:45:10
Hi Good People

I am running SQL Server 2005, I have two existing databases database1 and database2 which have the same tables but different data. Database 1 has old data and database 2 has new data. I want to merge these two databases with all data in them to one Database.

WHERE DO I BEGIN?

shaggy
Posting Yak Master

248 Posts

Posted - 2009-03-18 : 10:21:23
using insert statement
insert data from db2 to db1
Go to Top of Page

kopzen
Starting Member

34 Posts

Posted - 2009-03-18 : 10:29:02
Sorry, I dont want to copy from DB1 to DB2,

I want to copy and combine DB1 and DB2 into one new database called DB3
Go to Top of Page
   

- Advertisement -