随笔分类 - oracle
oracle
Oracle字符串函数
摘要:1.REPLACE(’string’,’s1’,’s2’) string 希望被替换的字符或变量 s1 被替换的字符串 s2 要替换的字符串 SQL> select replace(’he love you’,’he’,’i’) from dual; REPLACE(’H ---------- i love you2.SUBSTR(string,start,count) 取子字符串,从start开始,取count个 SQL> select substr(’13088888888’,3,8) from dual; SUBSTR(’ -------- 088888883.CONCAT
阅读全文
浙公网安备 33010602011771号