Red Gate forums :: View topic - Run SQLPackager as upgrade
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager 6
SQL Packager 6 forum

Run SQLPackager as upgrade

Search in SQL Packager 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
Garymazzone



Joined: 06 Oct 2009
Posts: 6

PostPosted: Thu Oct 08, 2009 2:37 pm    Post subject: Run SQLPackager as upgrade Reply with quote

I have created a new package to add users to a database from a script. The exe works fine if I run from the GUI selecting the Upgrade an existing database option and select the database to run against.

How can I do this from the command line:

I have tried the following:
addusertest /server:usd503\sql2008 /database:serviceshub /rundb:serviceshub -- Fails wit database already exists

addusertest /server:usd503\sql2008 /rundb:serviceshub -- Fails wit database already exists

So how do I execute the package to perform an upgrade and not create a new database?
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6673

PostPosted: Thu Oct 08, 2009 3:31 pm    Post subject: Reply with quote

Hi Gary,

We have got a patched installation of SQL Packager (v6.0.1.9) that fixes this bug, so that a package will only create a database when the /makedatabase option is used. Please contact support@red-gate.com if you need this update. Since it's untested, we are only distributing the update if it's absolutely necessary.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group