Adding Columns

  • Hi,

    I have a 3 database scenario.

    Database A is the Merge Publication

    Database B is the Merge Subscriber and a Transactional Rep Publisher

    Database C is the Transactional Subscriber.

    I need to add a column to a single article that is part of this scheme.

    A couple of questions:

    1 Can this be done without dropping any replication?

    2 What is the best order to add the column?

    Many thanks...Graeme

  • You can add columns using sp_repladdcolumn, without dropping the replication. check out BOL for more info on syntax.

    Theoretically if you add the column on A, it would be propagated to B and since B is a publisher it would again be propagated automatically to C. So I belive you just need to add the column in A and watch if it gets all the way to C.

    ******************
    Dinakar Nethi
    Life is short. Enjoy it.
    ******************

  • Correct you may want to look for

    sp_repldropcolumn

    and

    sp_addmergearticle

    You may need to have SP3 instaled.

     

    Pedro R. Lopez
    http://madurosfritos.blogspot.com/[/url]

  • Hey..thanks

    I've been looking at those procedures.

    Seems straightforward..but you never know.

    Thanks again

    Graeme

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply