Predicates
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
SQL analytics endpoint in Microsoft Fabric
Warehouse in Microsoft Fabric
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.
SQL Server provides the following predicates:
- CONTAINS (Transact-SQL)
- FREETEXT (Transact-SQL)
- IS [NOT] DISTINCT FROM (Transact-SQL)
- IS NULL (Transact-SQL)
Related content
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om