all groups > sql server dts > july 2006 >
You're in the

sql server dts

group:

Help with openrowset in task


Help with openrowset in task dw
7/27/2006 2:59:00 PM
sql server dts: Hi. Here's what I need to do in a DTS package and don't know how: Insert all
the values from an Oracle view into a SQL Server 2000 table where the value
from the source doesn't exist in one of the columns of the destination
table. Thanks.


Re: Help with openrowset in task dw
7/27/2006 3:13:30 PM
Thanks, Mitchell. I've got the source adapters in my SQL Server 2000
package. Where do I declare the LEFT OUTER JOIN? On the data pump?

[quoted text, click to view]

Re: Help with openrowset in task dw
7/27/2006 4:12:09 PM
I think you're referring to SQL 2005 and not 2000. The version I'm using is
SQL 2000 and it doesn't have any such component "Merge Join". I'll have to
figure some other solution.

[quoted text, click to view]

Re: Help with openrowset in task Allan Mitchell
7/27/2006 8:02:27 PM
Two Source adapters, one SQL Server and one Oracle. Use a Merge Join with a
LEFT OUTER JOIN to determine the rows that are in one set and not the other.

--


Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



[quoted text, click to view]

Re: Help with openrowset in task Allan Mitchell
7/27/2006 8:48:51 PM
It is in the Merge Join Component itself in a little dropdown at the top

BTW you will need sorted inputs to this component (HINT: Do this on the
Source Adapeter and flag the outputs as sorted)

--


Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



[quoted text, click to view]

AddThis Social Bookmark Button