update 表名 set 字段名=replace(字段名,’要替换的内容’,’替换后的内容’) UPDATE NC_DownAddress SELECT * update yonghuxinxi set yonghubianhao=replace(yonghubianhao,'-','-') update yonghuxinxi set yonghubianhao=replace(yonghubianhao,'--','-')
SET DownFileName = REPLACE(DownFileName, 'http://ftp1.netshield.cn:8082',
'http://ftp1.netshield.cn')
FROM NC_DownAddress
WHERE (DownFileName LIKE '%http://ftp1.netshield.cn%')