title: Excel column of integers pasted in SSRS parameter as comma separated id's
body: <p>I have a column in an Excel-spreadsheet with a hole bunch of numbers of datatype INT. Now I want to run a report in SSRS with these numbers as the parameter (@StackIds). Is there a way to simply paste them in the parameter and they are automatically comma separated? 
  I know this should be some sort of function in my WHERE clause in the query but I'm not really advanced in SQL to be writing functions like this. I'm using SSMS to write the query.<br>
  Thanks in advance. </p>
  
  <p>Below you can see the columns with the Stackid's from the Exel-spreadsheet. I simply want to copy this entire column and paste them into the inputfield of my ssrs parameter but this parameter is a VARCHAR so they should be comma-separated. </p>
  
  <p><a href="https://i.stack.imgur.com/c7raI.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c7raI.jpg" alt="This is the column with StackIds"></a></p>
  
  <p><a href="https://i.stack.imgur.com/w33hL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w33hL.jpg" alt="SSRS-parameter"></a></p>