I have a Stored Procedure in SQL Server starting like below:
CREATE PROCEDURE [dbo].[spReporting]
@DateCreated_Start datetime,
@DateCreated_Finish datetime,
@DeadlineDate datetime = NULL,
@Duration [NumericTableType] READONLY,
@ValueCheck [StringTableType] READONLY
AS
BEGIN
....
END
As to be seen, there are two custom types a variable can have, NumericTableType
and StringTableType
.
What I want to do is to execute the stored procedure in SSIS using an "Execute SQL Task" in Control Flow. The execute command (SQL Statement) I use is: exec spReporting ?,?,?,?,?
However, I don't know how I should give the parameters since the custom parameters are not defined in "Parameter Mapping" section.
I tried changing the SQL Statement like: exec [dbo].[spReporting_AP] ?,?,null,null,null
, but didn't help. I don't want to use a script task for this, unless I have to. Any advice/help would be appreciated.Thanks.