SQLCompare Deployment Order

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

SQLCompare Deployment Order

Postby johnfnz » Thu Nov 14, 2013 3:55 pm

Can anyone confirm how SQLCompare decides what order to deploy objects in?

I have a case (fairly common in our organisation) where the scripts generated by SQLCompare refer to objects before they exist (i.e. they are created later on in the deployment script).

We're on 10.4.

Is there anything we can do to force the ordering to be more strict?

I suspect it just can't cope with the inter-dependencies but it'd be good to hear if anyone else has had similar experiences and how they coped with them.
johnfnz
 
Posts: 11
Joined: Thu Jun 27, 2013 6:03 pm

Postby eddie davis » Mon Nov 18, 2013 3:41 pm

Thank you for your forum post and sorry that you have encountered a problem.

When creating the deployment script, SQL Compare should create the database objects in the correct dependency order. However, there are situations where SQL Compare gets the dependency order incorrect.

A support call has been created for you, the call reference is 8009. Would it be possible for you to create a SQL Compare snapshot file of each data source?

Next send an e-mail to support@red-gate.com with the resulting snp files attached with your call reference number #8009 in the subject field of your e-mail.

Using the snapshot files, I can then attempt to recreate the problem you have reported.

Many Thanks
Eddie
Eddie Davis
Technical Support Engineer
Red Gate Software Ltd
E-mail: support@red-gate.com
eddie davis
 
Posts: 942
Joined: Wed Jun 14, 2006 3:47 pm
Location: Red Gate Software

Postby johnfnz » Mon Nov 18, 2013 4:02 pm

The metadata has moved on since the problem occurred i.e. we have manually fixed.

When we get a re-occurrence I'll collect the information required.
johnfnz
 
Posts: 11
Joined: Thu Jun 27, 2013 6:03 pm


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 1 guest