i'm try to query the departmentID from HumanResources.Department
below is the Package:
declared Varaiable :@Departmentid
In OLEDBSource : querying in sqlCommand Mode . with @department as input varaiable .
(select * from HumanResources.Department where departmentid in (?))
but my excel source values keep on changes .. ie today excel sheet may as 2 departmentids, tomorrow there be may 10 department IDs
can anyone help me in creating a package with such requirement:
can I make use of FOREACHLOOP : if yes please tell me how ?