Hi,
In SSRS report I am using a dataset which consumes a parameter multi value and gets rows from a table. I know that I can do it with IN clause.
But my problem is I have to get the column and table name (configured) in another table.
select col_name,tabl_name from cnfg table. - this will give me col and table name.
Select <col_name> from <tbl_name> where <col_name> in @parameter_selected.
So i create query in string and then use EXEC. But i get error.
@parameter_selected is just replaced like 1,2,3 instead of '1,2,3'. I also tried split string but errored as multiple parameters passed since 1,2,3 is replaced in place of '1,2,3'.
Any workaround or solution ?
Thanks,
Paddy