我有一个报告,其中显示了222.4444444444444
等值。现在我想把它显示为222.4444
问题是,我想为所有的表列,有33列。
SELECT * FROM IPFEE_MST_INSRT_ASCEND
使用TO_CHAR
并列出所有列:
SELECT TO_CHAR(col1, 'fm99990D0000') AS col1,
TO_CHAR(col2, 'fm99990D0000') AS col2,
TO_CHAR(col3, 'fm99990D0000') AS col3,
TO_CHAR(col4, 'fm99990D0000') AS col4
FROM table_name