StrataFrame Forum

Executing same package on different databases on the same server

http://forum.strataframe.net/Topic28865.aspx

By Melvin Xuereb - 10/29/2010

Hi,

I'm currently executing a package through the DatabaseMigrator.DeployMetaData(package, password) method.



In the DDT, when creating the package, the database name is 'Test'.

Is there a way that when the package is deployed on a server, it is deployed on a database which it's name is not 'Test'?



I want to do this because i want to run the same package on different databases on the same server.

Any help would be appreciated Smile

Thanks
By Ivan George Borges - 10/29/2010

Hi Melvin.

Have a look at the following post:

http://forum.strataframe.net/FindPost25737.aspx
By Melvin Xuereb - 11/1/2010

Thanks Ivan, 

I set the Filename inside the File Group Properties to $DbName$

What changes are then needed from the c# code then if any?

I created a package and deployed it to a database server, but still the changes were done on the original database.

Thanks in advance.

Melvin
By Ivan George Borges - 11/2/2010

Hi Melvin.

Here you are:

http://forum.strataframe.net/FindPost10001.aspx
By Melvin Xuereb - 11/4/2010

Thanks mate!
By Ivan George Borges - 11/5/2010

You're welcome. Cool