FIX: Snapshot Agent Error Occurs While Adding Table with a Space in it's Name to an Existing Merge Publication

Article translations Article translations
Article ID: 297156 - View products that this article applies to.
This article was previously published under Q297156
BUG #: 350958 (SHILOH_BUGS)
Expand all | Collapse all

SYMPTOMS

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 '...'.

RESOLUTION

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:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

WORKAROUND

Drop, and then re-create the merge publication and include the new article in the list of articles for the publication.

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

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:
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.

Properties

Article ID: 297156 - Last Review: October 3, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB297156

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com