Microsoft KB Archive/164290

= FIX: Srv_message_handler Text Limit =

Article ID: 164290

Article Last Modified on 10/16/2003

-

APPLIES TO


 * Microsoft SQL Server 6.0 Standard Edition
 * Microsoft SQL Server 6.5 Standard Edition

-



This article was previously published under Q164290



BUG #: 16574



SYMPTOMS
The srv_message_handler Open Data Services (ODS) call, which allows an extended stored procedure to place entries in the SQL Server errorlog, limits the text of each message and operating system error message.

Versions of SQL Server before SQL Server 6.5 Service Pack 3 limit the string to 512 bytes (or characters). SQL Server 6.5 Service Pack 3 and later extend that limit to 1,024 bytes.

Remember the limit includes the date, time, and spid concatination.



STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.



MORE INFORMATION
The ODS call srv_message_handler, which allows an Extended Stored Procedure to place entries in the SQL Server error log, limits the text of each the message and OS error message.

SQL Server versions prior to Service Pack 3 for SQL Server 6.5 limit the string to 512 bytes. Starting with Service Pack 3, the limit has been extended to 1024 characters.

Keywords: kbfix kbprb KB164290

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.