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.
如何使用 Oracle Sql 将 10 设为 10?例如:20 等于 20 1000 等于千
select your_col, (to_char(to_date(your_cold,'j'), 'jsp')) from your_table;
应该做的伎俩。虽然它对数字的大小有限制,但此处提供的解决方法涉及更多 - 想法是将您的数字按三位数分组,使用上述技巧转换这些数字并添加适当的“量词”(千、百万、十亿等)。