When I compare, tables inaccessible on production server
QuestionGuy
Posts: 2 New member
in SQL Compare
When I compare using SQL Data Compare tables on a production server vs tables on a replica database, the respective table being compared (on production server) is inaccessible by the website. Since absolutely nothing is being modified on the production server (I'm comparing and transferring data FROM there to the replica database), is there an option for SQL Data Compare and SQL Compare to not lock up the table during this process?
Tagged:
Comments
Many deployment scripts use a long transaction to ensure that as much of the script as possible will be rolled back if an error is encountered. Depending on the operations you are performing, this could lock certain objects for an extended period of time while the script runs. You can tick the "Don't use transactions" option to avoid this, although this will increase the risk of leaving the database in a partially-deployed state.
Redgate Software