oracle_fun
所属分类:SQL Server
开发工具:CHM
文件大小:67KB
下载次数:3
上传日期:2009-03-28 20:16:12
上 传 者:
s宝s
说明: oracle中常用函数说明.
SQL中的单记录函数
1.ASCII
返回与指定的字符对应的十进制数
SQL> select ascii( A ) A,ascii( a ) a,ascii( 0 ) zero,ascii( ) space from dual
A A ZERO SPACE
--------- --------- --------- ---------
65 97 48 32
2.CHR
给出整数,返回对应的字符
SQL> select chr(54740) zhao,chr(65) chr65 from dual
ZH C
-- -
赵 A
3.CONCAT
连接两个字符串
SQL> select concat( 010- , 88888888 )|| 转23 高乾竞电话 from dual
高乾竞电话
----------------
010-88888888转23
(oracle explain commonly used functions. SQL Record function of the single-1.ASCII back with a specified number of characters corresponding to the metric system SQL> select ascii (' ' A' ' ) A, ascii (' ' a' ' ) a, ascii ( ' ' 0' ' ) zero, ascii (' ' ' ' ) space from dual AA ZERO SPACE------------------------------------- 65 97 48 32 2.CHR give integer, return the corresponding character SQL> select chr (54740) zhao, chr (65) chr65 from dual ZH C-- Zhao A 3. CONCAT string connecting the two SQL> select concat (' ' 010-' ' ,' ' 88888888' ' )||' ' competing cadres to 23' ' phone from dual cadres competing phone---------------- 010-88888888 to 23)
文件列表:
2008514211626.chm (76044, 2008-05-14)
近期下载者:
相关文件:
收藏者: