我有一个日期时间列,其格式如下:
2019-11-10-07.10.55.865000
我希望我的格式如下:
2019-11-10 07:10:55.865000
如何在PostgreSQL 9.6.11中做到这一点?
有“ to_char(时间戳,文本)功能(“ to_char(当前时间戳,'HH12:MI:SS')”)。]
https://www.postgresql.org/docs/8.2/functions-formatting.html