replace 用法

orcl中replace()用法:

replace:(字符串 | 列):进行替换;

将bqh1表中name列带“小”的字改成“大”:

select * from bqh1
select a.*,replace(name,'小','大') from bqh1 a

posted @ 2018-10-07 23:15  南清风  阅读(882)  评论(0编辑  收藏  举报