Question : SSIS - Extract from joining 2 derived tables with parameters.

I was trying to use a 'OLE DB Source' to process a 'SQL Command' whose query involves 2 derived columns, which has to be joined. There are 2 parameter variables that will be used in both the derived tables.

But this is giving error. I have since settled to use 2 'OLE DB Source' and a MERGE JOIN to bring them together. Is there any other to way to make this work just with one 'OLE DB Source' or any other task?.

Is there an inability to use more than one derived tables in a SQL Task?

Thanks

Answer : SSIS - Extract from joining 2 derived tables with parameters.

Yes, the two Select statements surrounded by parentheses are subqueries, so it wouldn't work within there.  You would probably have to create those subqueries in separate sources like you did.  I can't think of any other way to do it other than that or re-writing the query, which may not be possible anyway.
Random Solutions  
 
programming4us programming4us