I am using SSIS in SQL Server 2005 and want to have a query like this in my data flow task
from abc as a
inner join (Select b.id,c.id from xyz as b inner join pqr as c on b.id = c.id and b.id > ?) as t1
on t1.id = a.id
SSIS fails to detect the parameter (?) for the inner query and gives message.
Parameters cannot be extracted from the SQL command. The provider might not help to parse parameter information from the command. In that case, use the "SQL command from variable" access mode, in which the entire SQL command is stored in a variable.", so assuming this is your problem, then you can workaround.