If the databases are on the same server then do not use lookups.
How about you simply say
INSERT TABLE(COLUMNS)
SELECT (COLUMNS)
FROM DATABASE.OWNER.TABLE DB1 LEFT OUTER JOIN dbo.TABLE T1
ON DB1.(Id Columns) =T1.id Column)
WHERE T1.(Is Column IS NULL)
Obviously you will need to play with the syntax for your environment.
This then would site in an ExecuteSQL Task
If you did this
SELECT (COLUMNS)
FROM DATABASE.OWNER.TABLE DB1 LEFT OUTER JOIN dbo.TABLE T1
ON DB1.(Id Columns) =T1.id Column)
WHERE T1.(Is Column IS NULL)
You could use a DataPump task
You say "Bombs Out". With what error?
[quoted text, click to view] "Best Practice" <aprilfool2005@gmail.com> wrote in message
news:OUPFsa#6FHA.2616@TK2MSFTNGP15.phx.gbl:
> I'm having a syntax error day here...any suggestions.
>
>
> ' Copy each source column to the destination column
> Function Main()
> DTSDestination("wexchid") = DTSSource("exchid")
> DTSDestination("wexTitle") = DTSSource("exTitle")
> DTSDestination("wexSku") = DTSSource("exSku")
> DTSDestination("wexDescription") = DTSSource("exDescription")
> DTSDestination("wexPrice") = DTSSource("exPrice")
> DTSDestination("wexPrice2") = DTSSource("exPrice2")
>
> If (DTSLookups("skuCHECK").Execute(DTSSource("exSku"))) Then
> Main = DTSTransformStat_InsertQuery
> End If
>
> End Function
>
>
> The lookup is set to check the destination against the source.
>
> I guess this is where my problems lies.
>
> If "what goes in here"
> (DTSLookups("skuCHECK").Execute(DTSSource("exSku"))) Then
>
>
> I'm stuck any help would be appreciated.
>
> April