Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Array of string into a variable in SSIS

$
0
0

Hi Guys need urgent help....

I have a query, For example, Select * From Employee Where Employee ID In (2,3,4..)

This I have to use it in a ole db data source to get the data from a view based on the condition of Employee ID.

I selected Data Access Mode as Sql command mode and entered the command as 

 Select * From Employee Where Employee ID In ?

 

Now I have to pass variable as 1,2,3,4

When I do this, only the first value before the first comma is passed as variable.

How do I pass this array of string as variable for the sql command.

Thank You

 

 

 

 

 

 



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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