Home  >  Article  >  Database  >  Oracle函数(将整个字符串转换为大写)

Oracle函数(将整个字符串转换为大写)

WBOY
WBOYOriginal
2016-06-07 16:58:272203browse

Oracle函数(将整个字符串转换为大写)NLS_UPPER(x[,y])【功能】返回字符串并将字符串的转换为大写;【参数】x字符型表达式【参数】

Oracle函数(将整个字符串转换为大写)

NLS_UPPER(x[,y])

【功能】返回字符串并将字符串的转换为大写;

【参数】x字符型表达式

【参数】Nls_param可选,指定排序的方式(nls_sort=) 。SCHINESE_RADICAL_M(部首、笔画) SCHINESE_STROKE_M(笔画、部首SCHINESE_PINYIN_M(拼音))

【返回】字符型

【示例】 select NLS_UPPER('ab cde') "test",NLS_UPPER('a c b d e','nls_sort= SCHINESE_PINYIN_M') "test1" from dual;

返回:AB CDE,A C B D E

linux

Statement:
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