Oracle 替换回车和换行

 

 

--替换回车和换行

update dc_group_parameter t

set t.description = replace(replace(t.description, chr(10), ''), chr(13), '')

where t.description <> replace(replace(t.description, chr(10), ''), chr(13), '');

--替换双引号

update dc_group_parameter t set t.description = replace(t.description, '"', '')

where t.description <> replace(t.description, '"', '');

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章