| title | Predicates | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| description | Predicates are expressions, used in search conditions, that evaluate to TRUE, FALSE, or UNKNOWN. | ||||||||
| author | VanMSFT | ||||||||
| ms.author | vanto | ||||||||
| ms.reviewer | randolphwest | ||||||||
| ms.date | 07/09/2024 | ||||||||
| ms.service | sql | ||||||||
| ms.subservice | t-sql | ||||||||
| ms.topic | reference | ||||||||
| ms.custom |
|
||||||||
| helpviewer_keywords |
|
||||||||
| dev_langs |
|
||||||||
| monikerRange | >=aps-pdw-2016 || =azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric || =fabric-sqldb |
[!INCLUDE sql-asdb-asdbmi-asa-pdw-fabricse-fabricdw-fabricsqldb]
A predicate is an expression that evaluates to TRUE, FALSE, or UNKNOWN. Predicates are used in the search condition of WHERE clauses and HAVING clauses, the join conditions of FROM clauses, and other constructs where a Boolean value is required.
For more information, including how to specify a search condition, see Search condition.
[!INCLUDE ssNoVersion] provides the following predicates: