Article ID: 248135 - Last Review: March 14, 2006 - Revision: 2.1

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

This article was previously published under Q248135
BUG #: 55374 (SQLBUG_70)
Expand all | Collapse all

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  (http://support.microsoft.com/kb/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.

APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbbug kbfix KB248135
 

Article Translations

 

Related Support Centers