SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssis package configuration


ssis package configuration

Author
Message
keywestfl9
keywestfl9
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2847 Visits: 764
could anybody help me how to configure dynamic my ssis package to all environment like development, QA, production

my ssis package functionality creating a text file from a table.

i need to figure how to create the package config file dynamic to all environment
Bob McEuen
Bob McEuen
Mr or Mrs. 500
Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)Mr or Mrs. 500 (527 reputation)

Group: General Forum Members
Points: 527 Visits: 42
You could place the file location information in a xml file or a sql table, using a package configuration to retrieve the information into a variable. You could then use a property expression to set the value of the file location with the variable. When you change the file location info info in the xml file or sql table, it will propagate to the package everytime it is loaded and run.

Smile
Padma-1078840
Padma-1078840
SSC Journeyman
SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)SSC Journeyman (85 reputation)

Group: General Forum Members
Points: 85 Visits: 147
Can someone please post an example on how exactly to implement changing configurations dynamically? I have about 350 packages that I need to run first on test and then on production. Is there a way to do it for all the packages at the same time? I have a sqlserver table set up with a list of all the production and test connection strings.
Koen Verbeeck
Koen Verbeeck
SSC Guru
SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)SSC Guru (133K reputation)

Group: General Forum Members
Points: 133496 Visits: 13347
Padma-1078840 (12/21/2011)
Can someone please post an example on how exactly to implement changing configurations dynamically? I have about 350 packages that I need to run first on test and then on production. Is there a way to do it for all the packages at the same time? I have a sqlserver table set up with a list of all the production and test connection strings.


Please start a new thread instead of hijacking an old one.
Regarding your question, you can maybe automate it with .NET, but you better have some strong coding skills.

Another option is that you do not include the package configuration directly in the package, but that you provide an XML config file at runtime when you launch the package. All you have to do is create valid XML config files for each package using the values that are inside your table.


How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
My blog at SQLKover.

MCSE Business Intelligence - Microsoft Data Platform MVP
nick.mcdermaid
nick.mcdermaid
SSCommitted
SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)SSCommitted (1.8K reputation)

Group: General Forum Members
Points: 1786 Visits: 789
How do your environments differ? for example do your DEV, TEST, PROD environments all exist on different servers? In that case its probably easiest to use an environment variable to point at different configuration databases.
hcprasadv
hcprasadv
SSC Eights!
SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)SSC Eights! (979 reputation)

Group: General Forum Members
Points: 979 Visits: 342
SSIS Package Configuration types are XML, SQL Server, Environment Variable,Registry Entries and Parent Package Variables.

Security Maintainability Portability
XML: NO No yes
SQL Server: Yes yes No
Env. Variable: NO No -
Reg.Entry: NO No -
Parent Package is used to pass variables value from one package to other and is independent from changes in environment

So by this we can configure the packages according to our need and personally I prefer XML and SQL Server configuration...
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search