oracle的 replace函数的用法
3 回答
翻过高山走不出你
TA贡献1875条经验 获得超3个赞
SELECT REPLACE('JACK and JUE','J','BL') "Changes"
FROM DUAL;
Changes
--------------
BLACK and BLUE
人到中年有点甜
TA贡献1895条经验 获得超7个赞
replace( string1, string_to_replace, [ replacement_string ] )
For example:
replace('123123tech', '123'); would return 'tech'
replace('123tech123', '123'); would return 'tech'
replace('222tech', '2', '3'); would return '333tech'
replace('0000123', '0'); would return '123'
replace('0000123', '0', ' '); would return ' 123'
添加回答
举报
0/150
提交
取消