SQL/2008
The TRIM function is a SQL/2008 core feature.
SQL Anywhere does not support the additional parameters trim specification and trim character, as defined in SQL/2008. The SQL Anywhere implementation of TRIM corresponds to a TRIM specification of BOTH.
For the other TRIM specifications defined by the SQL/2008 standard (LEADING and TRAILING), SQL Anywhere supplies the LTRIM
and RTRIM functions respectively.