Oracle Error Message
PLS-00174: a static boolean expression must be used
Reason for the Error
The expression contained a syntax or semantic error, or it did not have a boolean type or its evaluation raised an exception.
Solution
Write correct static boolean expression.