TO_CHAR
Converts the input expression to a character/string using the specified format.
Syntax
TO_CHAR(expression time, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression date, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression int32, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression float, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression int64, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression double, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
TO_CHAR(expression timestamp, format varchar) → varchar
expression: Expression to convert to a string.
format: Format to use for the conversion.
Examples
Last updated