Functions are used to return information from the database. They can be called anywhere an expression is allowed.
Unless otherwise specified in the documentation, NULL is returned for a function if any argument is NULL.
Functions use the same syntax conventions used by SQL statements.
In SQL Anywhere, if an argument is optional, then DEFAULT can be provided as an argument.