Hello
I have a piece of code in a batch file to set off an SSIS package. It looks like the following:
dtexec /f "C:\Users\s813\Documents\Visual Studio 2008\Projects\Import_Valuation_RPTs\Import_Valuation_RPTs\Import_NL.dtsx" /CONNECTION "Import_NL_RPTs";H:\Retail\Karen\ul_%2_cloas\NL\results\RUN_%1\*.rpt
I pass two parameters to the batch file in the command line. The first %1 could be 01, 02, 19, 20, 23 or 24 and the second is 12q3.
When I pass in 19, 20, 23 or 24 as the parameter for %1 the package works fine, however when I pass in 01 or 02 as the parameter the package executes twice??
I'm presuming this has something to do with the 0 being in front of the number but I'm not sure why? I can't change the location to not have the 0 so I'd like to be able to fix this.
I'm new to SQL server so apologies if this is obvious! Thanks for any help in advance!