Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 2.04 KB

File metadata and controls

47 lines (40 loc) · 2.04 KB
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
ignite-2025
helpviewer_keywords
HAVING clause, predicates
FROM clause, predicates
unknown data [SQL Server]
TRUE
WHERE clause, predicates
FALSE
predicates [full-text search]
expressions [SQL Server], predicates
dev_langs
TSQL
monikerRange >=aps-pdw-2016 || =azuresqldb-current || =azure-sqldw-latest || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric || =fabric-sqldb

Predicates

[!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:

Related content