dbTalk Databases Forums  

merging data from one database into another

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss merging data from one database into another in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sean Bolster
 
Posts: n/a

Default merging data from one database into another - 04-17-2008 , 04:35 PM






I am trying to take data from a table in one database and add it to an existing
table in another database. The both use the same primary key. I set up a
package to pull the data from the source database but not sure how to update
the table with the seleceted data.

The source table from db1 is

Key1, Info

The destination table in db2 is

Key1, info

The info in db2 is empty but needs to be populated with db1 info without
deleting what's there.

If I use an oledb destination from an oledb source how would I create an
update statement to update db2



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.