Predicates Listed by Product
Base SAS
|
Name
|
Syntax and Description
|
|---|---|
|
expression [NOT] BETWEEN expression AND expression
Selects rows where column values are within a range
of values.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
aggregate-function
(DISTINCT expression);
SELECT DISTINCT FROM ;
Specifies that only unique rows are selected as
input or output.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
[NOT] EXISTS (select-statement)
Tests whether a subquery returns one or more rows.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
expression [NOT] IN (select-statement | constant [, ...constant])
Tests set membership.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
(expression) IS [NOT] FALSE
Tests for a false value.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
expression IS [NOT] MISSING
Tests for a SAS missing value in a SAS native data
store.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
expression IS [NOT] NULL
Tests for a null value.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
(expression) IS [NOT] TRUE
Tests for a true value.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
expression IS [NOT] UNKNOWN
Tests for an unknown value.
Product: Base SAS
Document: SAS FedSQL Language Reference
| |
|
expression [NOT] LIKE expression
Tests for a matching pattern.
Product: Base SAS
Document: SAS FedSQL Language Reference
|
SAS Cloud Analytic Services
|
Name
|
Syntax and Description
|
|---|---|
|
expression [NOT] BETWEEN expression AND expression
Selects rows where column values are within a range
of values.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
aggregate-function
(DISTINCT expression);
SELECT DISTINCT FROM ;
Specifies that only unique rows can be selected
as input or output.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
[NOT] EXISTS (select-statement)
Tests whether a subquery returns one or more rows.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
expression [NOT] IN ( constant [, ...constant])
Tests set membership.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
(expression) IS [NOT] FALSE
Tests for a false value.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
expression IS [NOT] MISSING
Tests for a SAS missing value in a SAS native data
store.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
expression IS [NOT] NULL
Tests for a null value.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
(expression) IS [NOT] TRUE
Tests for a true value.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
expression IS [NOT] UNKNOWN
Tests for an unknown value.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
| |
|
expression [NOT] LIKE expression
Tests for a matching pattern.
Product: SAS Cloud Analytic Services
Document: SAS Viya Platform: FedSQL Programming for SAS Cloud Analytic Services
|
Last updated: July 17, 2025