我有一个如下所示的列值
"123,345","435,321","56,432",asdef,234,12-May-2017 08:00,test
"323,545","35,21","536,32",def,34,15-Apr-2017 08:00,testing
我希望生成如下
123345,435321,56432,asdef,234,12-May-2017 08:00,test
323545,3521,53632,def,34,15-Apr-2017 08:00,testing
需要替换,带有空格的doubleQuotes。 AM试图在SQL服务器上实现。需要指导。
答案 0 :(得分:0)
您可以使用替换功能更新列以删除逗号。
update *tablename*
set column1 = replace(column1, ',' , ''),
column2 = replace(column2, ',' , ''),
column3 = replace(column3, ',' , '')