文件名称:oracle_fun
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:66.87kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.