您好,欢迎访问一九零五行业门户网

Oracle函数(把每个单词首个字母变为大写)

oracle函数(把每个单词首个字母变为大写)nls_initcap(x[,y])【功能】返回字符串并将字符串的第一个字母变为大写,其它字母小写;【
oracle函数(把每个单词首个字母变为大写)
nls_initcap(x[,y])
【功能】返回字符串并将字符串的第一个字母变为大写,,其它字母小写;
【参数】x字符型表达式
【参数】nls_param可选,查询数据级的nls设置:select * from nls_database_parameters;
例如:指定排序的方式(nls_sort=) 。
nls_sort=schinese_radical_m(部首、笔画) nls_sort=schinese_stroke_m(笔画、部首schinese_pinyin_m(拼音))
【返回】字符型
【示例】 select nls_initcap('ab cde') test, nls_initcap('a c b d e','nls_sort= schinese_pinyin_m') test1 from dual;
返回:ab cde, a c b d e
select nls_initcap('ab cde') test, nls_initcap('a c b d e','nls_language=american') test1 from dual;
其它类似信息

推荐信息