重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
select ..
成都创新互联主营麦积网站建设的网络公司,主营网站建设方案,App定制开发,麦积h5微信小程序开发搭建,麦积网站营销推广欢迎麦积等地区企业咨询
, case when right(thefield,1) = ','
then left(thefield, len(thefield)-1)
else thefield end
...
update 表名 set attr3= replace(attr3,",","");
update 表名 set attr4= replace(attr4,",","");
update 表名 set attr5= replace(attr5,",","");
cast(100000.0000 as decimal(15,2))
convert(value, decimal(12,2))
两者都行