The information in this article applies to:
SYMPTOMS
On page 368 of the Microsoft SQL Server version 4.2 "Transact-SQL
Reference," it says that you can use the equal sign (=) character to check
for a NULL value. However, this statement is misleading and should not be
considered. The only reliable way to make comparisons with NULL values is
to use the expression IS [NOT] NULL.
STATUSMicrosoft has confirmed this to be a problem in the documentation for Microsoft SQL Server version 4.21a. This problem was corrected in SQL Server version 6.0. MORE INFORMATIONAn inconsistency problem stems from using the following syntax in a SELECT statement within a stored procedure:
ANSI X3.135-1992, Section 8.2 <comparison predicates>,
General Rules 1.a pg.169 states the following:
Let X and Y be any two corresponding <row value constructor elements>. Additional query words: Windows NT equals
Keywords : kbother SSrvDoc_Err SSrvStProc kbbug4.21a kbfix6.00 |
Last Reviewed: December 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |