Groups | Blog | Home
all groups > sql server replication > march 2004 >

sql server replication : Add column to a merge article.


maria
3/26/2004 9:45:24 AM
Hi, I need to add a new column to a table that is an
article in a merge replication. I know how to do that in
enterprise manager, but i need to add this new column in
the table primary key. I try to do it but it seem that i
have to remove the replication, do the changes and then
configure the replication again.

Do you know if i can do this changes without removing the
replication?? Could you explain me how??

Thanks a lot for your help.

Hilary Cotter
3/26/2004 12:48:26 PM
have you tried sp_repladdcolumn?
[quoted text, click to view]

Maria Isabel Guzman
3/31/2004 10:20:51 AM

Thanks for your help. If I use Sp_repladdcolumn can i add the column to
the table primary key??

Regards

*** Sent via Developersdex http://www.developersdex.com ***
skelly NO[at]SPAM online.microsoft.com
3/31/2004 5:31:53 PM
Sp_repladdcolumn is valid for SQL Server 2000. If you have SQL Server 7.0,
you must drop the subscriptions and publication before adding the column.

Regards,
Shirley
SQL Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
AddThis Social Bookmark Button