FIX: Srv_message_handler Text Limit

ID: Q164290


The information in this article applies to:

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          : SSrvODS 
Version           : 6.0 6.5
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 8, 1999