Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6971103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:47:46+00:00 2026-05-27T16:47:46+00:00

In my software I have a process which runs the database updates that I

  • 0

In my software I have a process which runs the database updates that I need to apply to patch up to our latest version. In my latest script, I want to add a column to a table that has a publication for replication setup. When I create my alter script to add the columns I get a message saying the following:

You can only specify the READPAST lock in the READ COMMITTED or REPEATABLE READ isolation levels.

Any ideas what the easiest way to get round this issue is? Do I have to script a remove of the publication and then re-add it afterward!?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:47:46+00:00Added an answer on May 27, 2026 at 4:47 pm

    We had this issue this week while using scripts generated by SQL Compare to synch our production and dev environments. The issue is caused by the script from SQL Compare (or whatever you are using) starting a transaction with a higher isolation level than READ COMMITTED or REPEATABLE READ.

    When you run the part of the script hat has the ALTER TABLE to add the column, that initiates a call to the SQL replication code that propogates the ALTER TABLE command to the subscribers. That code can’t execute inside of the larger transaction with the higher isolation level.

    The solution we used was to script out the replication. Drop the replication on that table. Apply the synch script. Then recreate the replication.

    The alternative would be to edit the synch script to change the isolation level of the transaction or remove it altogether. That was not something we wanted to do so we went with the previously mentioned solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have software that runs fine under a normal Windows installation but when we
Suppose I have a server that runs on Linux on which I would like
We have been told that Google Chrome runs each tab in a separate process.
I have written software which takes advantage of POSIX threads so that I can
I have installed a java batch process using the version of procrun that ships
During the process of building software applications, you would start testing what you have
I was looking into GWT. It seems nice, but our software have the must
Most of the software company have old software which continue maintain, and they also
We have a software product that evolves at the rhythm of clients' needs and
I have a software diagnostic page on which I would like to list the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.