WAS v8.5 > Develop applications > Develop Dynamic and EJB query > Develop applications that use EJB query > EJB query language > WHERE clause

IN predicate

The IN predicate compares a value to a set of values.

It can have one of two forms:

ValueN can either be a literal value or an input parameter. The expression cannot evaluate to a reference type.


Example: IN predicate

is equivalent to

is equivalent to

is equivalent to


Related concepts:

EJB query language
WHERE clause


Related


Use EJB query


+

Search Tips   |   Advanced Search