Quantcast
Viewing all articles
Browse latest Browse all 24688

query data from excel cells

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 ?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>