Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/248135

From BetaArchive Wiki
Knowledge Base


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

Article ID: 248135

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



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.

Keywords: kbbug kbfix KB248135