The compiler complaint that DECODE' may be used inside a SQL statement only.