Oracle单行函数和多行函数
单行函数和多行函数示意图:

 
单行函数分为五种类型:字符函数、数值函数、日期函数、转换函数、通用函数

单行函数:
-   
 - select lower('Hello World') 转小写, upper('Hello World') 转大写 from dual;  
 -   
 - select initcap('hello world') 首字符大写 from dual;  
 -   
 -   
 -   
 - select concat('Hello',' World') from dual;  
 -   
 - select substr('Hello World',3) from dual;  
 - select substr('Hello World',3,4) from dual;  
 -   
 - select length('China') 字符数, lengthb('China') 字节数  from dual;  
 -   
 - select instr('Hello World','ll') from dual;