Chapter Contents |
Previous |
Next |
The SQL Procedure |
Featured in: | Combining Two Tables |
sql-expression IS <NOT> NULL |
sql-expression IS <NOT> MISSING |
sql-expression is described in sql-expression .
Details |
SAS stores a numeric missing value as a period (.) and a character missing value as a blank space. Unlike missing values in some versions of SQL, missing values in SAS always appear first in the collating sequence. Therefore, in Boolean and comparison operations, the following expressions resolve to true in a predicate:
3>null -3>null 0>null
The SAS System way of evaluating missing values differs from that of the ANSI Standard for SQL. According to the Standard, these expressions are NULL. See sql-expression for more information on predicates and operators. See PROC SQL and the ANSI Standard for more information on the ANSI Standard.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.