The TO_CHAR function returns a character representation of an input expression that has been formatted using a character template.
>>-TO_CHAR--(--timestamp-expression--+--------------------------------------+--)->< '-,--format-string--+----------------+-' '-,--locale-name-'
>>-TO_CHAR--(--decimal-floating-point-expression--+---------------+--)->< '-format-string-'
The schema is SYSIBM.
The TO_CHAR scalar function is a synonym for the VARCHAR_FORMAT scalar function.