TO_CHAR¶
TO_CHAR(COLUMN_EXPRESSION)
Casts the input to a string value. If the input is a boolean, it will be cast to 'true'
if it is true
and 'false'
if it is false
. If the input is NULL
, the output will be NULL
.
Example:
We are given table1
with columns a
and b
and c