Overview
TheTO_CHAR function formats a number into a string using a given format.
Syntax
The syntax for using theTO_CHAR function is as follows:
value: A number that will be formatted to a string.format: The format of the input string.
Format
Format string supports following template patterns (can be lowercase):Limitations
- All text inside double quote
"{text}"will not be considered a pattern. - The quote character
""will not appear in the result string. - Any text that does not match any pattern will be preserved in the result string.