I have an Excel Source
that connected to a Lookup Transformation
that is then connected to an OLE DB Command
that holds a stored procedure to Insert my data into SQL Server.
The following is the query I want within the Data Flow before the Lookup
Transformation:
SELECT *
FROM EFF f
LEFT OUTER JOIN OH o ON f.No = o.Name
LEFT OUTER JOIN Ay a ON f.No = A.Reg
INNER JOIN Oh ot ON a.Num = ot.name
WHERE f.Type LIKE 'z%'
AND o.is null
So basically, I want to use this query to do a Lookup
on using the Excel Source
data...would I use a Script Component
?