FIX: Srv_message_handler Text Limit (164290)



The information in this article applies to:

  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5

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.

Modification Type:MajorLast Reviewed:10/16/2003
Keywords:kbfix kbprb KB164290