Neoview SQL Reference Manual (R2.2)

This statement is equivalent and will not produce an error:
SELECT decode( (?p1 || ?p2), trim(?p1), Hi ) from emp;
332 SQL Functions and Expressions