oracle数据库中的一些操作

时间:2017-09-05 18:36:58   收藏:0   阅读:382

--清空两个字符中间的空格

update IMPORT_TEST a set a.name = REGEXP_REPLACE(a.name,‘( ){1,}‘, ‘‘) where a.reason is not null

--字符串替换

update IMPORT_TEST a set a.name = replace(a.name,‘?‘, ‘‘) where a.reason is not null

原文:http://www.cnblogs.com/nan993/p/7479770.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!