modify replicated table

  • Hi,

    is it possible to modify table ( add column, change datatype ) that is replicated and don't delete subscription/publication before it ?

    10x

    Tania

  • Because you are altering the actual articles (tables) I think you would have to reinitialize the subscribers

    Adding articles check BOL for these

    sp_addmergearticle

    sp_repladdcolumn

    sp_rename

    eg you can rename indexes etc

    sp_rename '[dbo].[TblGblBlahLevels].[111TblBlahImprLevels_PK]', 'a111TblBlahImprLevels_PK', 'INDEX'

    GO

    HTH

    hopefully another can confirm what i have shown here for you..

    Cheers

    Adam


    ------------------------------
    Life is far too important to be taken seriously

  • Thank you Journeyman, i already found article about it :

    http://www.sqlservercentral.com/columnists/pibison/alteringacolumnonareplicatedtable.asp

    Tania

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

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