//sql去除左右空格
update ZDYCMCOURSEINFO set COURNAME = ltrim(rtrim(COURNAME))
//sql去除中间空格,使用replace替换
update ZDYCMCOURSEINFO set COURNAME = Replace(COURNAME,’ ‘,”)
//sql去除左右空格
update ZDYCMCOURSEINFO set COURNAME = ltrim(rtrim(COURNAME))
//sql去除中间空格,使用replace替换
update ZDYCMCOURSEINFO set COURNAME = Replace(COURNAME,’ ‘,”)