Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的十进制格式的表格列像这样我的列值是:
4523 1236.23 1240.5 2535.2
我想要这种格式:
4523.00 1236.33 1240.50 2535.20
谢谢。
to_char.
to_char
SELECT to_char(1231.123, '9999999999.00');
请参阅:数据类型格式化函数。
手册是你的朋友。