orcl中replace()用法:
replace:(字符串 | 列):进行替换;
将bqh1表中name列带“小”的字改成“大”:
select * from bqh1
select a.*,replace(name,'小','大') from bqh1 a
orcl中replace()用法:
replace:(字符串 | 列):进行替换;
将bqh1表中name列带“小”的字改成“大”:
select * from bqh1
select a.*,replace(name,'小','大') from bqh1 a
转载于:https://www.cnblogs.com/su-root/p/9752018.html