SolvedPrivate

SQL 2012 Package Configuraiton Variables

Posted on 2014-03-25
3
21 Views
Last Modified: 2016-02-10
Is there a way, in sql server 2012 SSIS to configure package configuration variables ? this was invaluable in past SSIS. What is the  current way to do this, so that when we move packages, we don't have to change connections....Also, i used sql server in past to store those values in a config database. Any chance they still exist ?
0
Comment
Question by:Auerelio Vasquez
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
PadawanDBA earned 250 total points
ID: 39954214
I do believe the connection manager settings are parameterized by default now.  So upon execution you can specify those values.

http://blogs.msdn.com/b/mattm/archive/2011/07/22/parameterized-connection-managers.aspx?Redirected=true
0
 
LVL 40

Assisted Solution

by:lcohan
lcohan earned 250 total points
ID: 39957214
http://technet.microsoft.com/en-us/library/ms141682.aspx

<<
•Configurations make it easier to move packages from a development environment to a production environment. For example, a configuration can update the path of a source file, or change the name of a database or server.

•Configurations are useful when you deploy packages to many different servers. For example, a variable in the configuration for each deployed package can contain a different disk space value, and if the available disk space does not meet this value, the package does not run.

•Configurations make packages more flexible. For example, a configuration can update the value of a variable that is used in a property expression.

>>

So...you can create and use Environment Variables to be used in conjunction with XML package configuration so you will have the SSIS file(DTSX) untouched and only have to modify the XML config file to deploy it to different servers.

http://msdn.microsoft.com/en-us/library/cc895212.aspx

More details and "how to" at:
http://dwjunkie.wordpress.com/2013/01/14/ssis-2012-configuration-guide-part-1-introduction/
http://www.sqlservercentral.com/blogs/samvangassql/2012/04/24/change-package-properties-using-parametersssis-2012/
0
 
LVL 1

Author Comment

by:Auerelio Vasquez
ID: 39959860
Interesting, and of course, in sql 2008 R2, i'm using package configuraiton variables, with my configuration database in an enviornment variable. So i understand what you are saying. Moving forward to sql 2012, how is this implemented  ?I guess i need to go thru your links. It seems like the concepts are different.

For example, in the past, i had the env variable, the config databaes, and package configuraitons which would point to the config database. Then when i moved the package, each enviornment, PROD, UAT, DEV, i wouldn't have to configure anything else, becuase each config db, had the right values (connection strings, flat file connections, return variables, etc).

Is this same type of development possible in SQL 2012? i'm sure it is, but it's a bit of a learning curve. Hence, we are afraid to move forward, until we understans a bit more about the changes.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question