You can use any SQL expression in an SPL routine except for an aggregate expression. The Informix Guide to SQL: Syntax provides the complete syntax and descriptions for SQL expressions.
The following examples contain SQL expressions: