Quantcast
Channel: SQLServerCentral » SQL Server 2005 » SS2K5 Replication » Latest topics
Viewing all articles
Browse latest Browse all 302

ALTER TABLE breaks replication

$
0
0
I have a table-article being replicated as part of a publication that replicates DDL commands. Historically, executing ALTER statements on replicated tables has not caused any problems.However, I recently executed the following ALTER:[code]ALTER TABLE my_table ADD my_column INT NULL DEFAULT(0)[/code]I immediately started receiving the following error on one subscriber:[code]Procedure or function 'sp_MSupd_mytable' expects parameter '@pkc1', which was not supplied.[/code]And this error on another subscriber:[code]rocedure or function 'sp_MSins_mytable' expects parameter '@c7', which was not supplied.[/code]I was under the impression the sp_MS-stored procs would update automatically to reflect schema changes and that there shouldn't be any problem if the Log Reader is processing changes as it should. Anything jump out as the specific cause of this problem? Let me know if I can provide any other information that would help.Thanks

Viewing all articles
Browse latest Browse all 302

Trending Articles