This topic contains additional tips for working effectively with EQL.
DEFINE
statement something meaningful so that others reading your work can make sense of what your logic is.DEFINE
statements to reduce the number of records returned.CASE
statements, bear in mind that all conditions and expressions are always evaluated, even though only one is returned.
If an expression is repeated across multiple WHEN
clauses of a CASE
expression, it is best to factor the computation of that expression into a separate SELECT
, then reuse it.