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