SSRS - STORED PROCEUDURE WITH TABLE VALUED PARAMETERS

Srinivasa Rao Chigulla 46 Reputation points
2020-08-19T09:59:25.577+00:00

Hi,

How can we use Stored Procedure with Table Valued Parameter in SSRS Dataset ?

CREATE TYPE DBO.MultiFilter AS TABLE
(
filterVal VARCHAR(200)
)

CREATE PROCEDURE DBO.USP_multiFilterTest
@position DBO.MultiFilter READONLY
AS
BEGIN

SELECT * FROM @position

END

If I use this SP DBO.USP_multiFilterTest in Data Set , it asking parameter value. Which values I can pass to this parameter ?

18737-image.png
18802-snnippied.jpg

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,869 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,597 questions
0 comments No comments
{count} votes

Accepted answer
  1. Olaf Helper 43,161 Reputation points
    2020-08-19T12:24:27.96+00:00

    SSRS supports only scalar values for parameters, not table values.

    Olaf

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful