dbTalk Databases Forums  

how to select source data from two different database in DDQ

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


Discuss how to select source data from two different database in DDQ in the microsoft.public.sqlserver.dts forum.



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

Default how to select source data from two different database in DDQ - 01-19-2004 , 12:15 AM






I'm using DDQ for my DTS package. I have already set 3
connections which point to different database. 2 are
source and the other 1 is the destination. How can I
select the source from 2 different database and put them
into 1 destination database??? Thanks........

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: how to select source data from two different database in DDQ - 01-19-2004 , 01:12 AM






Why are you using a DDQ?

For me the DDQ is for those occasions when I can look at the source data and
identify whether when i get to the destination I should be issuing an
UPDATE , INSERT or DELETE. If this is not true for your situation then use
a DataPump.

Combining two sources into 1 destination can be done best IMHO by one of the
following two methods

1. Linked servers. Create a linked server for Source2 from Source1. Your
Source connection for the DataPump is then Source1
2. Pump the rows you need on Source2 to a working table on Source1. You
can then use Source1 as the source for your datapump and a TSQL Statement.



--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Chin" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm using DDQ for my DTS package. I have already set 3
connections which point to different database. 2 are
source and the other 1 is the destination. How can I
select the source from 2 different database and put them
into 1 destination database??? Thanks........



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.