In SSIS, I have a variable that takes the value of a query defined in a component "Execute SQL Task". The value of the variable is assigned correctly. What I want to do next is within a "Data Flow", using an "ADO origin", where the query is defined using the variable used previously in where
.
How can I do it? I've searched everywhere and I can not find any of this.
I've tried something like
SELECT col1,col2...
FROM tabla
WHERE col1 = @nombreVar.