标签:rtrim( from chinese 数据类型转换 bsp gre least 开始 数据
SQL> select concat(‘010-‘,‘7163738‘) from dual;
CONCAT(‘010
-----------
010-7163738
SQL> select length(‘12345678‘) from dual;
LENGTH(‘12345678‘)
------------------
8
SQL> select lpad(‘James‘,10,‘-‘) as name from dual;
NAME
----------
-----James
SQL> select ltrim(rtrim(‘ JAMES ‘,‘ ‘),‘ ‘) from dual;
LTRIM
-----
JAMES
SQL> SELECT trim(‘ g ‘) from dual;
T
-
g
SQL> select trim(‘o‘ from ‘onohhooho‘) from dual;
TRIM(‘O
-------
nohhooh
SQL> select to_multi_byte(‘zhang‘) from dual;
TO_MULTI_B
----------
zhang
SQL> select uid from dual;
UID
----------
515
标签:rtrim( from chinese 数据类型转换 bsp gre least 开始 数据
原文地址:http://www.cnblogs.com/JamesWay/p/7792928.html