Quantcast
Viewing all articles
Browse latest Browse all 10045

Multi-value parameter with IN statement

Hi. I have a ssrs report with a single selection "Car" parameter. The parameter Label and Values are as follows:

Label   Value
Ford     Ford, Ford Fiesta, Ford Van
Skoda  Skoda, Skoda Sport
Fiat      Fiat Panda, Fiat Sports Wagon

I need to pass through the value csv into an SQL stored procedure. I assume it will get sent through as:

"Ford, Ford Fiesta, Ford Van"

Is there an easy way to split this in SQL to use with an IN statement?

Thanks


Viewing all articles
Browse latest Browse all 10045

Trending Articles