字符串函数
大小写转换
转大写
select upper('hello world') from dual;
转小写
select lower(ename)from emp;
首字母大写,其余字母小写
select initcap(ename)from emp;
取得字符串长度
select length('hello world')from dual;
select ename,length(ename)from emp;
替换自定字符串内容
select replace('hello world','l','_')from dual;
select replace(ename,'A'