FIX: Merge Snapshot Fails with "Line 1: Incorrect syntax near '[Object Name>]'." (248135)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q248135
BUG #: 55374 (SQLBUG_70)

SYMPTOMS

The merge snapshot agent fails and reports the following error:
Line 1: Incorrect syntax near '[Partial Object Name]'.

CAUSE

When a large number of tables are joined together in a publication, the table names are concatenated together into a large view name. If this large view name exceeds 2000 characters, the merge snapshot fails with a syntax error. The error is different depending on where the view name is truncated.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 2 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

254561 INF: How to Obtain Service Pack 2 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix KB248135