all groups > sql server dts > february 2007 >
You're in the

sql server dts

group:

How to update a table from another table


How to update a table from another table Leo Demarce
2/23/2007 1:31:03 PM
sql server dts:
I want to use DTS to update a table from a view of another database. I have
3 databases in total, 3 are subs and 1 is a parent. The parent will have a
table that is to be updated by the 3 subs. I have created a view in each of
the 3 subs that are identical, but have a unique key. The parent database
has a table that I want to populate with data from the 3 views.

I know how to set up a DTS that will empty the table, then populate the data
from each of the 3 subs by appending the data.

Is there a way to append the data without having to empty the table with the
Re: How to update a table from another table Allan Mitchell
3/5/2007 12:33:06 AM
Yes. Remove the step that does the removal of data. Simply pumping
into a SQL Server table using DTS will not remove the data. How are you
doing this? Wizard or hand built (or wizard saved package)

Building a Package in the DTS Designer
(http://www.sqldts.com/278.aspx)

--


Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com



[quoted text, click to view]
AddThis Social Bookmark Button