MySQL 除开/替换某个字符串中的某些字符 replace函数
MySQL 去除/替换某个字符串中的某些字符 replace函数
去除diag 表中DiagCode字段中的'.'
replace(字段名,"替换前的字符","替换后的字符")
去除diag 表中DiagCode字段中的'.'
UPDATE `diag` SET DiagCode = REPLACE(DiagCode,'\.','') WHERE DiagCode LIKE '%.%';