Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replication Merge SQL 2000

Status
Not open for further replies.

rlals

Programmer
Jun 23, 2003
29

Does Replication change the struture tables on subscriber server when I do it on Publisher ? (and vice-versa over a Merge replication?)

Have I to stop the replication to change table struture ?

thanks.
 
The changes that replication makes to the tables will be pushed out to the subscriber when you apply the snapshot to the subscriber.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 

Opps! I think that I didn´t express myself right.
My question is:
If my application changes some table struture, this will be replicated to subscriber ?
 
Your application won't be able to change the tables. While a table is part of a publication the table schema can not be changed via the normal ALTER TABLE command. There are special system stored procedures which must be used to send the command to both servers at the same time.

Look up sp_repladdcolumn in BOL.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top