Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Hmmmmmm I wouldn't / haven't done it, but what you might be able to do is set the report source to a sql clr table valued function, which takes as a parameter a full path and file name, then parses out the data?</p> <ul> <li><p><a href="http://msdn.microsoft.com/en-us/library/cc655659%28SQL.90%29.aspx#ssrsndtbevldfnct_topic5" rel="nofollow noreferrer">Looks</a> like this can be done.</p></li> <li><p>Here is an <a href="http://www32.brinkster.com/srisamp/sqlArticles/article_46.htm" rel="nofollow noreferrer">article</a> I used when learning clr tvfs.</p></li> </ul> <hr> <p>Then, according to your comments, what I would do is take the csv of ints and pass it to a sproc. The sproc would then turn the csv into a temporary table using a table valued function. The table produced by the table valued function would then be used in your query. I would avoid this entire scenario if I could. If you can provide the user with list of valid parameter choices, so much the better. Or if that csv is a regular, slowly changing list, perhaps it is better to make it a separate report. SSRS allows you to 'copy' or 'link' ( i forget the term ) to base/master reports. All you're really doing is changing the set of input parameters. The basics of the report remain the same.</p> <p>See:</p> <ul> <li><p><a href="http://www.logiclabz.com/sql-server/split-function-in-sql-server-to-break-comma-separated-strings-into-table.aspx" rel="nofollow noreferrer">here</a></p></li> <li><p><a href="http://msdn.microsoft.com/en-us/library/ms191165.aspx" rel="nofollow noreferrer">here</a></p></li> <li><p><a href="https://stackoverflow.com/questions/2821054/how-can-i-join-on-a-csv-varchar">here</a></p></li> </ul> <p>Good LUCK!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload