How to add an article to an existing snapshot or to a transactional publication by using system stored procedures (830210)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
INTRODUCTIONThere are two ways to add an unpublished article to an
existing snapshot, to a transactional publication, or to merge publication. You
can either use SQL Server Enterprise Manager to add an unpublished article, or
you can use the replication system stored procedures that are provided with SQL
Server to add an unpublished article. If you add an unpublished
article to an existing publication by using SQL Server Enterprise Manager, the
schema and the data of the added article is propagated automatically to all the
subscribers when you run the respective replication agents for the first time
after you add the article. If you add an article to a merge publication by
using the sp_addmergearticle replication system stored procedure, the schema and the data of
the added article is propagated automatically to all the subscribers. However,
if you use the sp_addarticle replication system stored procedure to add an unpublished article
to a snapshot or to a transactional publication, the schema and the data of the
added article is not propagated automatically to all the subscribers when you
run the respective replication agents for the first time after you add the
article. This article describes how to add an article to an existing
snapshot or to a transactional publication by using the replication system
stored procedures so that the schema and the data of the added article is also
successfully propagated to the subscribers during the synchronization process.
For more information about how to add an article by using SQL Server
Enterprise manager, see the following topic in SQL Server Books Online:
How
to modify publications and articles (Enterprise
Manager)back to the
topback to the
topREFERENCESFor more information about the replication system stored
procedures that are used to add replication, see the following topics in SQL
Server Books Online: For more information about managing identity values, see
the following topic in SQL Server Books Online: For
additional information the sp_addmergearticle stored procedure, click the
following article numbers to view the articles in the Microsoft Knowledge Base:
297369
FIX: Incorrect error occurs when you add merge article to a publication with NO SYNC Subscriber
269204 BUG: The addition of a merge article with a subset filter might cause the Snapshot Agent to fail
back to the
top
Modification Type: | Major | Last Reviewed: | 3/8/2004 |
---|
Keywords: | kbReplication kbHOWTOmaster kbCodeSnippet kbhowto KB830210 kbAudDeveloper |
---|
|
|
©2004 Microsoft Corporation. All rights reserved.
|
|