Check SQL Server Replication Defaults -


we have database a replicated subscriber db b (used ssrs reporting) every night @ 2.45 am.

we need add column 1 of replicated tables since it's source file in our iseries having column added need use in our ssrs reporting db.

i understand (from making schema changes on publication databases) , answer here damien_the_unbeliever) there default setting in sql server replication whereby if use t-sql alter table ddl statement add new column our table bupf in pion database, change automatically propagate subscriber db.

how can check replication of schema changes setting ensure have no issues replication following making change?

or should run alter table bupf add column bupcat char(5) null?

to add new column table , include in existing publication, you'll need use alter table < table > add < column > syntax @ publisher. default schema change propagated subscribers, publication property @replicate_ddl must set true.

you can verify if @replicate_ddl set true executing sp_helppublication , inspecting @replicate_ddl value. likewise, can set @replicate_ddl true using sp_changepublication.

see making schema changes on publication databases more information.


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -