A logical AND expression returns
either true (1) if both operands are true (1), or false if at least
one of its operands is false (0). If both operands are null, the expression
returns null.
Expression
|
Character representation
|
Logical AND
|
&
and
|
These are examples of using the logical AND expression:
Expression
|
Returns
|
1 and 0
|
0 (false)
|
0 & 0
|
1 (true)
|
0 and 1 & 0 and 0
|
0 (false)
|
|
|
|