User-defined functions and query results

In very few cases, differences in semantics between Adaptive Server Anywhere and Sybase IQ can produce different results for a query if it is issued in a user-defined function. For example, IQ treats the CHAR and VARCHAR data types as distinct and different, while Anywhere treats CHAR data as if it were VARCHAR.