34,873
社区成员
发帖
与我相关
我的任务
分享SELECT CONVERT(VARCHAR,CONVERT(MONEY,1200000002154.123),1)
/*
------------------------------
1,200,000,002,154.12
(所影响的行数为 1 行)
*/
declare @aa numeric(18,2)
set @aa=12000212.00
select convert(char(20),convert(money,@aa),1)
/*
--------------------
12,000,212.00
(1 行受影响)
*/