Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS and parameter optional

$
0
0

Hi

I have 4 parameters that should be optional - specified by the client. Thus can choose parameter 1 or not, parameter 2 or not etc.

How will I code this in a SP?

e.g.

Select mycolumn1, mycolumn2, mycolumn3, mycolumn4

from mytable

where (case when mycolumn1 <> 'none' then mycolumn1 = @myparam1 end) --this obviously gives an error

Please help

Thanks


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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