SQL Server Performance

Changing published database question

Discussion in 'Performance Tuning for SQL Server Replication' started by arka, May 12, 2008.

  1. arka New Member

    Our vendor gave us a script to apply changes to their application and a database that is being published in transactional and snapshot replications. The script should add/modify tables, columns, etc.
    Can anyone tell me how do I go with these changes? Do I just stop SQL agent, apply changes to the database and then re-start SQL agent, or there are some additional steps to be taken?
    Thanks
  2. MohammedU New Member

    If the scripts are modifyin the replicated tables then you can't add/remove column with ALTER TABLE script you have to use special procedure like sp_repladdcolumn...
    Check the following article...
    http://www.replicationanswers.com/AddColumn.asp

Share This Page