declare @t table(ID int ,M varchar(10))
insert @t select 1,'120.00'
insert @t select 2,'180'
select ID,convert(money,M)from @tID
----------- ---------------------
1 120.00
2 180.00(2 行受影响)
insert @t select 1,'120.00'
insert @t select 2,'180'
select ID,convert(money,M)from @tID
----------- ---------------------
1 120.00
2 180.00(2 行受影响)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货