oracle中replace的用法

来源:互联网 发布:淘宝 李宁官方网店 编辑:程序博客网 时间:2024/06/05 04:25

函数:Replace(expression, find, replacewith[, compare[, count[, start]]])

参数:expression,要进行操作的源数据。find:源数据中需要进行替换的目标数据  replacewith:需要替换成自己需要的新数据,如果replacewith不需要,则用''替换。

简单例子:replace('﹝2012﹞号','﹝','(');

update oa_fileinner t set t.oafi_filecode = replace('﹝2012﹞号','﹝','(') where ========

 


 

原创粉丝点击