Home > Database > Mysql Tutorial > body text

Oracle ascii函数

WBOY
Release: 2016-06-07 15:21:33
Original
1395 people have browsed it

Oracle ascii函数用于返回单个字符的数字代号。ASCII( single_character ) 参数说明: 代表只能输入单个字符,如果输入多个,

一  简介

Oracle ascii函数用于返回单个字符的数字代号。

二  语法

ASCII( single_character )    参数说明: 代表只能输入单个字符,如果输入多个,,oracle只会返回第一个字符的数字代号。

三  使用环境

oracle 12c, 11g, 10g, 9i, 8i

四  例子

HR@orcl> select ascii('ab') from dual;

ASCII('AB')
-----------
        97

HR@orcl> select ascii('a') from dual;

ASCII('A')
----------
        97

本文永久更新链接地址

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!