小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 --字符函数
--伪表dual
--(1)求字符串长度
select length('123.456/-*') from dual
--(2)截取函数求字符串的子串
select substr('ABCDEF',2,2) from dual
--(3)字符串拼接
select concat('ABC','DE') from dual
select concat(concat('ABC','DE'),'FG') from dual
select 'ABC'||'DE'||'FG' from dual