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, '"', '');

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