Flexibitliy

I'm new to SSIS and I am finding it hard to get started. Being a programmer for 20 years now, I was expecting a little more from the product. I fail to understand why I have to hard code so much when variables make so much more sense. For example, I want
to do something simple like check for the presence of multiple files before I get started. So I had to write a script of all things to check for each file. So to make it as generic as possible I pass in the File extension string, and the path string, but before
I can do that I have to use an expression task to map my external variable to my generic variable for my script. But I can handle that until I get to the ForEach container for files. There is no way to use a variable for the extension or path. I don't understand
how you guys mange this on a larger scale, and account for differences in testing and production deployment (connection strings, file paths, database schema, etc.). Surely you don't re-edit the entire package before deployment that would be a mistake ridden
nightmare, what am I missing here?
Lee

Hi Lee,
The Integration Services parameters, which allow us to assign values to properties at the execution time, are introduced in SQL Server 2012. To parameterize a Connection Manager, we can right click the Connection Manager and choose “Parameterize…” button.
Then, we can choose to create a new parameter to provide value for the connection string, or choose an existing parameter to supply the connection string. A SSIS parameter can be either of Project cope or Package cope, and a Connection Manager can be either
a Project Connection or a Package Connection.
In SSDT, we can modify the value of the parameters manually. After deploy the project to a SSISDB catalog database, we can modify the parameter values through SQL Server Management Studio or configure a parameter to get value from an Environment Variable.
Please note that parameters only works with Project Deployment Model.
For more information, please see:
http://blogs.msdn.com/b/mattm/archive/2011/07/22/parameterized-connection-managers.aspx 
http://sqlblog.com/blogs/jamie_thomson/archive/2010/11/13/ssis-server-catalogs-environments-environment-variables-in-ssis-in-denali.aspx 
Regards,
Mike Yin
TechNet Community Support

Similar Messages

Maybe you are looking for

  • Opening PDFs with Preview instead of Acrobat within Safari

    I much prefer to use Preview for downloaded PDFs than have Acrobat open PDFs in Safari. How can I switch back to Preview once I have installed Acrobat 7? Thanks inadvance!

  • Agent restart results in loss of management plug-in deployment

    A hardware provider provided us 3 management plug-ins for the Grid Control Enterprise Manager (V11g). The Plug-ins are deployed on one single agent. The agent is located on our OMS. Overall, we've got 20 instances of these plug-ins on the same agent.

  • Regarding bdc(views problem in mm01 while uploading the data)

    hi experts, i have coded a bdc in which i m using mm01 and extending the material to the different plant ,but here in some cases depending upon the material the views get changed for solving this i have to deselect and again select the views which i

  • Photoshop desktop too tall

    at some point desktop to my Photoshop CS6, somehow became too big for my iMac screen; hence I can not resize the desktop-adjust it's heighth. Any solutions on how to resize my Photoshop desktop? 

  • Stolen laptop, putting adobe suite onto new laptop

    My laptop was stolen a few weeks ago and it had my adobe suite. How to I go about getting all of that onto my new laptop? I also wasn't the one that initially installed the programs as they came on my computer when I got it from my college.