日期:2014-05-19  浏览次数:20400 次

求一SQL 更新语句
httpurl                           name
"www.sohu.com "             搜狐
"www.baidu.com "           百度
"www.163.com "               163


httpurl                           name
www.sohu.com             搜狐
www.baidu.com           百度
www.163.com               163


问题如图,我想把上面哪个更新为下面的。。不知道各位大哥有办法没

------解决方案--------------------

update [table]
set httpurl=replace(httpurl, ' " ', ' ')
------解决方案--------------------
update [table]
set httpurl=replace(httpurl, ' " ', ' ')
就这个了,够好