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
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho