stop sql replication

Posted on 2006-06-07
Last Modified: 2012-05-05
i need to modify 1 table in my publisher(i have one publisher and 1 subscriber)
i cant make the change untill i stop replication
whats the easiest way for me to stop replication so that i can modify
the table and set replication back
im using transactional replication
looking for a step by step
Question by:dano992

    Author Comment

    sql 2000 by the way
    LVL 20

    Accepted Solution

    LVL 20

    Expert Comment


    at the very bottom of that page.
    LVL 50

    Assisted Solution

    1. script out the current replications...
    2. drop the replication (via the script)
    3. backup your database
    4. modify the database
    5. backup the database
    6. re-establish the replications...
    7. backup your database again


    Author Comment

    can i drop replication withougt  using a script?
    LVL 5

    Assisted Solution

    IF it's a two way replication... synchronize the pub and the subs.
    After making these changes u cant synchronize any old changes.

    follow this to remove replication..
    How to manually remove a replication in SQL Server 2000 or in SQL Server 2005.

    MAke the changes required.. and reconfigure the replication.

    it's better to script out the publication.. just to be sure that we didnt miss any of the articles .. or filtering etc.. (kind of best practice)


    Author Comment

    awsome thanks one more thing
    hou do i change a subscriber database to be able to write to it
    if publisher goes offline it seems that i cannot write to subscriber because its
    part of replication
    hou do i remove replication if publisher is down (say it crashed or something)
    LVL 5

    Expert Comment

    hou do i remove replication if publisher is down (say it crashed or something) -- On subscriber.. go to the subscribed DB and

    Removes all replication objects from a database without updating data at the Distributor. This stored procedure is executed at the Publisher on the publication database or at the Subscriber, on the subscription database.

    sp_removedbreplication [ @dbname = ] 'dbname'

    [@dbname =] 'dbname'

    Is the name of the database. dbname is sysname, with no default.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
    Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
    Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    6 Experts available now in Live!

    Get 1:1 Help Now