TechNet
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize
The document is archived and information here might be outdated

ALL (SQL Server Compact Edition)

Compares a scalar value with a single-column set of values.


scalar_expression { = | <> | != | > | >= | !> | < | <= | !< } ALL ( subquery )

scalar_expression

Any valid expression in Microsoft SQL Server 2005 Compact Edition.

{ = | <> | != | > | >= | !> | < | <= | !< }

The comparison operator.

subquery

A subquery that returns a result set of one column. The data type of the returned column must be the same data type as the data type of scalar_expression.

A subquery is a restricted SELECT statement. The ORDER BY clause, the COMPUTE clause, and the INTO keyword are not permitted.

Returns TRUE when the comparison specified is TRUE for all pairs (scalar_expression, x) where x is a value in the single-column set. Otherwise, returns FALSE.

Show:
© 2016 Microsoft