1/去掉字段里的逗号.(比如set @= '1,320.00' 想得到@= '1320.00' )
UPDATE table SET fieldA = REPLACE(fieldA, ',', '')
2/选择
SELECT REPLACE(fieldA, ',', '') AS Expr1 FROM table
1/去掉字段里的逗号.(比如set @= '1,320.00' 想得到@= '1320.00' )
UPDATE table SET fieldA = REPLACE(fieldA, ',', '')
2/选择
SELECT REPLACE(fieldA, ',', '') AS Expr1 FROM table