Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
ranganath
Posting Yak Master
209 Posts |
Posted - 2009-10-27 : 04:54:10
|
Hiiam using sql2008.i want to Add a column in Replicated Table (Transactional Replication ). i used the following script. and the ref this linkhttp://www.sql-server-performance.com/articles/dba/ddl_replication_2000_2005_p1.aspxsp_repladdcolumn @source_object = N'Customers', @column = N'Cat1', @typetext = ,N'varchar(25)', @publication_to_add = N'data',@from_agent = 0, @schema_change_script = NULL, @force_invalidate_snapshot = 1 , @force_reinit_subscription = 1so it is effected in publisher database but not in reflected in subscriber Db. we need to drop subscription for this article ? or any thing any suggestions |
|
ranganath
Posting Yak Master
209 Posts |
Posted - 2009-10-27 : 09:01:42
|
i Got it |
|
|
krishnarajeesh
Yak Posting Veteran
67 Posts |
Posted - 2009-11-04 : 02:57:15
|
schema changes are automatically updated to subscriber, if we set Replicate Schema Changes to true on publication properties.Thanks,Krishnawww.SQLServer.in |
|
|
|
|
|