Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

General setup to switch between DEV and PROD server

$
0
0

Hello,

I know this has been asked and answered before but I couldn't find any information that would make it clear for me.

I use the project deployment model to run a SSIS catalog project via an SQL Agent inside SQL Server 2012. This all works fine as long as I'm in the DEV area and don't want to switch to a different server instance.

My general server setup:
DEV: servername
PROD:sameservername\prodinstance

So for testing I run the package on the DEV server trying to import data to the PROD server instance (same database and table name). I have created two environment variables for the DEV and PROD environment inside the catalog to hold the names for server and database. But the import will run down the DEV road because I believe

But what do I need to modify in my package setup to actually get the right connection manager depending on the environment variable - where for example I only have the DEV connection manager as its "Connection" in a SQL Task?

I believe this is where I need to set a parameter or variable. When I right click on the SQL Task is "Parameterize" the option to look for?

What about the OLE DB-Target? How can I set the connection manager to change depending on the environment here?

I hope I could make my goal clear. Feel free to ask if I left out some essential information.

Thanks for your help.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>