Passing multiple value parameters in SSRS to stored procedure

后端 未结 2 2096
南笙
南笙 2021-02-08 13:02

I am trying to pass a multiple value string parameter to a table type parameter in a SQL Server 2012 stored procedure. I paste this code in the dataset of SSRS:

         


        
2条回答
  •  粉色の甜心
    2021-02-08 13:31

    declare @Vendors_Filter nvarchar(max) = 'a,b,c'
    declare @Vendors nvarchar(max) 
    set @Vendors =''''+replace(@Vendors_Filter,',',''',''')+'''' 
    select @Vendors
    

提交回复
热议问题