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

How to change a cm property in the ScriptTask

$
0
0

I have a Script Task that creates a database if it does not already exist. Before opening the connection, I need to change InitialCatalog to "master" since the database specified by the parameter does not yet exist. 

The connection manager is ADO.NET.

How can i set the InitialCatalog to "master" from the Script Task?


Cheers, Metaphore


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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