SQL Reference
A predicate specifies a condition that is true, false, or
unknown about a given row or group.
The following rules apply to all types of predicates:
- All values specified in a predicate must be compatible.
- An expression used in a Basic, Quantified, IN, or BETWEEN predicate must
not result in a character string with a length attribute greater than 4000, a
graphic string with a length attribute greater than 2000, or a LOB string of
any size.
- The value of a host variable may be null (that is, the variable may have a
negative indicator variable).
- The code page conversion of operands of predicates involving two or more
operands, with the exception of LIKE, are done according to Rules for String Conversions
- Use of a DATALINK value is limited to the NULL predicate.
A fullselect is a form of the SELECT statement which is described under Chapter 5. Queries. A fullselect used in a predicate is also called a
subquery.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
[ DB2 List of Books |
Search the DB2 Books ]