Predicates (Transact-SQL)

Predicates (Transact-SQL)

 

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.

SQL Server provides the following predicates.

CONTAINS
FREETEXT
IS [NOT] NULL

BETWEEN (Transact-SQL)
EXISTS (Transact-SQL)
IN (Transact-SQL)
LIKE (Transact-SQL)
Search Condition (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft