FIX: Snapshot Agent Error Occurs While Adding Table with a Space in it's Name to an Existing Merge Publication
This article was previously published under Q297156
This article has been archived. It is offered "as is" and will no longer be updated.
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 theMicrosoft Knowledge Base:
290211 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 snapshotthis error message may occur:
Line 1: Incorrect syntax near 'Details'.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.
Article ID: 297156 - Last Review: 01/16/2015 22:29:58 - Revision: 3.2
Microsoft SQL Server 2000 Standard Edition
- kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB297156