Article ID: 297156 - View products that this article applies to.
This article was previously published under Q297156
BUG #: 350958 (SHILOH_BUGS)
If you run the Replication Snapshot Agent after you add a new article to an existing merge publication, the process may fail and this error message occurs:
Line 1: Incorrect syntax near '...'.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290211/EN-US/ )INF: How to Obtain the Latest SQL Server 2000 Service Pack
Drop, and then re-create the merge publication and include the new article in the list of articles for the publication.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
The error message occurs if the table that is added to an existing merge publication has a space in it's name. For example, if there is a merge publication defined on the Northwind database with just the Employees table, if the Order Details table is added to the publication, when you run the snapshot agent to generate the new snapshot this error message may occur:
This problem does not occur on Snapshot or Transactional publications. Also, if the table is included as part of a new merge publication the error does not occur.
Line 1: Incorrect syntax near 'Details'.
Article ID: 297156 - Last Review: October 3, 2003 - Revision: 3.2
Contact us for more help