I have 3 multivalued parameters in my report.Out of them 2 are optional.
Is there any way to get the results in the report with out selecting any from the 2 optional parameters.
My stored proc checks the mulivalued parameters as (States IN (SELECT * FROM Split(@State,',')))
I have done this for a single valued parameter with WHERE CustomerId = @CustId OR @CustId IS NULL.
WorkAround:
I selected 'Allow null value', it is throwing this error
"A multi-value parameter cannot include null values"
Can anyone point me in the right direction?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…