"upgrading" DB

Posts   
 
    
HcD avatar
HcD
User
Posts: 214
Joined: 12-May-2005
# Posted on: 02-May-2006 17:30:07   

Hi,

I don't know if it's really on topic but I thought it's best to ask here (since i assume it's a very common problem): Suppose we have a situation where a product built with LLBLGen is "in the field" with several customers, and you want to deploy a new version of the product to your customers. The new product requires some changes to the DB (assuming SQL2005), and ships with a new compiled datalayer. Ofcourse we cannot just put a new empty MDF file at the client site, we have to "upgrade" their database to the new version, so no data gets lost. What is the best approach to do this ..are their comercial solutions that can "compare" 2 database-schema's and fill in the missing stuff ? If using "custom scripts", what if the clients old DB is not 1 version old, but 2 versions old (e.g. they skipped an upgrade)... I bet at least some of you guys have been presented this problem before and would very much appreciate some hints/solutions because i will be in this situation too, soon simple_smile

Rogelio
User
Posts: 221
Joined: 29-Mar-2005
# Posted on: 02-May-2006 18:14:50   

Hi,

Try Red Gate SQL Compare. The last version works with SQL 2005

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 02-May-2006 18:17:47   

When it comes to schema comparing, you might want to have a look at SQL Delta

It also generate scripts to update different databases to match each other

jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 02-May-2006 20:16:05   

Anyone have any experience with both the Red Gate tools AND Innovartis DB Ghost? We're evaluating these for purchase...

Jeff...

sbroenne
User
Posts: 5
Joined: 14-Feb-2005
# Posted on: 03-May-2006 08:05:25   

jeffreygg wrote:

Anyone have any experience with both the Red Gate tools AND Innovartis DB Ghost? We're evaluating these for purchase...

Jeff...

Hi Jeff,

we have licences for both DBGhost and SQLCompare so I guess I have experience with both of them ...

DBGhost is a tool for managing your database development and deployment process. You will need to change your process (for the better in my opinion) to make DBGhost work. But afterwards you will never, ever go back. You will not only save loads of time but you will also gain a new piece of mind because you know you database deployment WILL work. All the time, every time..

Best development support tool I ever used. Download a trial, allocate one day for setting up a test environment and I am almost 100% sure you'll buy it.

We still use SQLCompare sometimes when we want to get a detailed diff between two existing databases. SQLCompare is better at showing the differences. But for deploying to a customer site, I am not interested in the diffs, I am interested that the databases are in sync after deployment.

So we use DBGhost every day and SQLCompare once a year.

Last time I was so excited with a product was with LLBLGen ... ;-)

Stefan