Am trying to pass a multi value parameter to a Stored Procedure from the SSRS report.
After following the query SSRS multi-value parameter using a stored procedure
I've made the stored procedure accept the CSV list by modifying the query as
value IN (@CampaignID)
I've added the Join(Parameters!TerritoryMulti.Value, ",")
at dataset parameters as this would pass the values as CSV.
Still, I see that, only single (first value selected) value is being passed to Stored Procedure from SSRS despite the number of values selected.
This is how, I checked the parameter being passed from SSRS.
Added the Statement: Insert into RF.Dashboard.ErrorMessages values (1, @CampaignID)
in the stored procedure.
After running the report in SSRS. I see the following entries in the table.
msgID Message
1 1
1 1
1 1
Please help me understand what am I missing.