I have a lot of packages that I run Stored Procs with. I don't write the procs just build the packages and export the data.
In my Source editor I always use this:
SET FMTONLY OFF;SET NOCOUNT ON;
exec [Extract].[usp_HB_VEI_Outbound_Collections] ?,?,?
and in my Set Query Parameters I use the same name for the parameters as they are in the proc
@StartDate, @EndDate and then point them to variables. E.g. user::prmStartDate, user::prmEndDate
Now today I am getting the error "No Value given for one or more required parameters" on a new package. But when I went back to old packages to make sure I was building the SQL Command text and parameters correct I found all my old packages trigger
this error now.
The only thing I can think of is that I have installed SQL Server 2012 data tools on the box and that is causing it or the SQL Server has been updated with a patch or hotfix.
Has anyone else seen this? Is there a work around?
Thanks,
Phil