Microsoft KB Archive/910020

= FIX: Error message when you create an instance of SQL Server 2000 Notification Services together with a large event field: &quot;Invalid operator for data type&quot; =

Article ID: 910020

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft SQL Server Notification Services 2.0

-



Bug # 410452: (SQLBUDT)



SUMMARY
This article describes the following about this hotfix release:
 * The issues that are fixed by this hotfix package
 * The prerequisites for installing the hotfix package
 * Information about whether you must restart the computer after you install the hotfix package
 * Information about whether the hotfix package is replaced by any other hotfix package
 * Information about whether you must make any registry changes
 * The files that are contained in the hotfix package



SYMPTOMS
When you create an instance of Microsoft SQL Server 2000 Notification Services together with a large event field, you may receive the following error message when the NSCreate EventView stored procedure is created:

Invalid operator for data type

Note  represents the name of the event class.



CAUSE
This problem occurs because the NSCreate EventView stored procedure uses a 1-KB buffer to construct a SQL statement that includes all the names of the event fields.

If the number of event fields, the combined length of each field name, or both causes the SQL statement to exceed the 1-KB buffer, the statement is truncated. Therefore, you receive the error message that is mentioned in the &quot;Symptoms&quot; section.



Hotfix information
To obtain this hotfix, you must download one of the following hotfix packages:

SQL Server 2000 Notification Services Standard Edition

The following file is available for download from the Microsoft Download Center:

Download the SQL2000.NS.Std-KB910020-x86.exe package now.

SQL Server 2000 Notification Services Enterprise Edition

The following file is available for download from the Microsoft Download Center:

Download the SQL2000.NS.Ent-KB910020-x86.exe package now. For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites
You must have Microsoft SQL Server 2000 Notification Services 2.0 Service Pack 1 (SP1) installed before you apply this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

822348 How to obtain the latest SQL Server 2000 Notification Server service pack

Restart information
You do not have to restart the computer after you apply this hotfix. However, you should stop all SQL Server 2000 Notification Services services before applying this hotfix.

Registry information
You do not have to change the registry after you apply this hotfix.

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

SQL Server 2000 Notification Services Enterprise Edition
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about the terminology that Microsoft uses when Microsoft corrects software after the software is released, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbqfe atdownload kbfix KB910020

-

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

© Microsoft Corporation. All rights reserved.