Microsoft KB Archive/247870

From BetaArchive Wiki
Knowledge Base


Article ID: 247870

Article Last Modified on 3/14/2006



APPLIES TO

  • Microsoft SQL Server 7.0 Standard Edition



This article was previously published under Q247870

BUG #: 54663 (SQLBUG_70)

SYMPTOMS

The XCALL syntax option can be used when calling custom stored procedures. XCALL syntax specifies:

"Stored procedures handling UPDATE statements will be passed the original (that is, the "before" image) values for all columns."


However, if the update or delete takes place to an article with a published text or image column the Logreader can fail with this fatal message:

Error 18759. 'Replication failure.. File 'p:\sphinx\ntdbms\srvrepl\src\pfmt.cpp, line 443'.

CAUSE

SQL Server 7.0 does not contain the previous text or image value(s) in a format the Logreader can currently obtain. However, Logreader did not account for this fact and fails while attempting to retrieve these values.

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.

MORE INFORMATION

This fix accounts for the fact that previous values cannot be obtained and passes "NULL" as the previous value for any text or image column when using XCALL.

REFERENCES

For more details on XCALL, see SQL Server Books Online; topic: "Using Custom Stored Procedures in Articles"

Keywords: kbbug kbfix KB247870