Transaction Level

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

Transaction Level

Postby ps_md » Tue Dec 11, 2012 7:51 pm

I am having issues when trying to execute a compare script between two databases which contain stored procedures with ADSI open queries. The problem is due to the fact that SQL Compare generates the following line:

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE

In order to get the script to run, i have to manually change the line to:

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

After I make that change, it works just fine. I was hoping that changing the Transaction Level in the Application Options to Read Uncommitted would take care of this so i didnt have to do this each time, but it will not work...

Am i missing something? How can i set SQL Compare to generate the Read Uncommitted line rather than the Serializable line?

Thanks!
ps_md
 
Posts: 3
Joined: Tue Dec 11, 2012 7:46 pm

Postby David Atkinson » Wed Dec 12, 2012 12:42 am

Have you tried changing the Transaction Isolation Level in the tool's Application Options?
David Atkinson
 
Posts: 1124
Joined: Mon Dec 05, 2005 4:54 pm
Location: Twitter: @dtabase

Postby ps_md » Wed Dec 12, 2012 1:40 pm

Have you tried changing the Transaction Isolation Level in the tool's Application Options?


Yes.

The behavior is odd though. If I try to transfer only the objects i know need to have a transaction level of read uncommitted, then the script is generated correctly. However, if i include additional objects the transaction level goes back to serializable.
ps_md
 
Posts: 3
Joined: Tue Dec 11, 2012 7:46 pm

Postby eddie davis » Thu Dec 13, 2012 1:03 pm

Hi ps_md, sorry that you have encountered a problem.

A support call has been created for you, call reference F0067636.

Would it be possible to send an e-mail to this e-mail address, support@red-gate.com and include the above call reference number in the subject field of the e-mail.

Could you please attach either a SQL Compare Snapshot of each data source or include examples of the database objects that are affected by the problem you have reported? Please include screen shots if you think this will help.

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 ps_md » Thu Dec 13, 2012 1:42 pm

I have sent in an email with an example object attached per your request.
Thank you for your help!
ps_md
 
Posts: 3
Joined: Tue Dec 11, 2012 7:46 pm


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 0 guests