I want to execute a select statement in SSIS, but this select statement takes a parameter from another component, and the column of this select statement should be used as inputs for other components.
For example:
select id from myTable where name = (column from a previous component).
And the contents of the "id" of the above select statement should be a column that future components can use.
If I add the OLE DB Command component, it allows me to refer to other components as input, but I cannot generate output from it. It seems the OLE DB Command component is only used for update / insert statements?
Any ideas on how to do this?
Saobi source
share