Transaction Isolation Level Problem
Glycerine
Posts: 5 Bronze 1
I just upgraded from 10.x of SQL Compare to 11.0.0.365. Previously, it would generate the following line properly:
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
Now, it is generating this line as:
SET TRANSACTION ISOLATION LEVEL
Note the space at the end after LEVEL, as if it is just leaving off the keyword. I've tried going into the application settings and changing it to something else, click OK, and rerunnning the compare, and then repeating the process to set it back to SERIALIZABLE, but it always comes up blank there. So if I were to click the Deploy button after it generates the scripts, it fails 100% of the time. The only way around it right now is to copy the script, add the word, and then run it manually. Is this a known issue, is there a fix to it that I can make, or am I stuck doing this until the next release?
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE
Now, it is generating this line as:
SET TRANSACTION ISOLATION LEVEL
Note the space at the end after LEVEL, as if it is just leaving off the keyword. I've tried going into the application settings and changing it to something else, click OK, and rerunnning the compare, and then repeating the process to set it back to SERIALIZABLE, but it always comes up blank there. So if I were to click the Deploy button after it generates the scripts, it fails 100% of the time. The only way around it right now is to copy the script, add the word, and then run it manually. Is this a known issue, is there a fix to it that I can make, or am I stuck doing this until the next release?
Comments
In my instance, if I choose to Create a deployment script (after choosing which items were correctly identified for deployment), the transaction keyword level is not specified and I end up with errors like
"Incorrect syntax near 'LEVEL'"
And it only works if I manually add the type in the script window and execute it.
The only workaround I have found is to copy the code into management studio and add SERIALIZABLE before running the code.
Thanks for posting on this thread. This is actually a known bug with reference SC-7563 (it should only occur with a source control source). We have a fix for it which should be released when 11.1 comes out (which should be in the next two weeks or so).
Sorry about the inconvenience.
Regards,
Evan
Product Support
(866) 627-8107
You're correct; I have also reproduced it with source controlled databases. I should have mentioned that in my last post.
Thanks,
Evan
Product Support
(866) 627-8107