Passing Table Valued Parameters from Reporting Services to Stored Procedures

Warning: This solution only works with SQL Server 2008 Step 1. Create a Table Type The Table type will hold the values from your multi-value parameters list. Code Example: CREATE TYPE [dbo].[CustomerTableType] AS TABLE( [PARAM] [int] NULL, [RunningId] [int] IDENTITY(1,1) NOT NULL, CHECK (([RunningId]<(10000))) ) Note: if you want a generic table type you can change the name to IntTableType, GUIDTableType, or VarcharTableType or whatever makes s... [More]

Posted by: adamwright
Posted on: 8/2/2009 at 6:11 AM
Tags: , ,
Categories: SQL Server 2008 | SSRS
Actions: Bookmark and Share
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed