to_char « String Functions « PostgreSQL






1.to_char: convert number to char
2.to_char(start_date, 'YYYY-MM-DD HH24:MI:SS')
3.to_char(123456789, '999G999G999D99')
4.to_char(123456789, '999999999')
5.to_char(123456789, '00999999999')
6.If space is not enough for display
7.to_char(1.0, '9th "Place"')