Hello
I think this is probably a very basic question but I'm new to SQL so having trouble figuring this out.
I am executing an SSIS package from the command prompt using the dtexec command. My SSIS package moves data from a flatfile source to a table in a SQL database. I'm using the /connection to configure my flat file source in the command prompt and this is working fine.
However I'm having trouble configuring the location of the SQL database (I want to override the connection in the original package through the command prompt). My code looks like this (I'm passing parameters into the command prompt which will replace the %1 and %2):
dtexec /f "C:\Users\s813\Documents\Visual Studio 2008\Projects\Import_Valuation_RPTs\Import_Valuation_RPTs\Import_NL_Run.dtsx" /CONNECTION "Import_NL";%2 /CONNECTION DHX31118.RPTs.dbo.RPT_Run1;DHX31118.RPTs.dbo.RPT_Run%1
I'm quite sure I've specified the connection to the SQL database incorrectly but I'm not sure how to specify it? The SQL Server is on my C drive.
Any help would be much appreciated!