2015年4月29日 星期三

SQL 增加數字千分位

SQL SERVER:
select convert(varchar(1000),cast(欄位 as money),1)

ORACLE:
SELECT to_char(QTY_1, 'FM999,999,990.00')