oracle单行函数 之 字符函数

Upper(字符串 / 列):将输入的字符串变成大写 Lower(字符串 / 列):将输入的字符串变成小写 Initcap(字符串 / 列):开头首字母大写 Length(字符串 / 列):字符串长度 Replace(字符串 / 列,字符[,替换字符]):进行替换 Substr(字符串 / 列,开始点[,结束点(从开始点截取的长度)])::字符串截取 例如:str=qwertyui substr(str,3,2) =ertyuui substr(str,-3,2)=yu; select Initcap('&apple') from dual & 的操作属于替代变量的内容(显示需要输入的变量提示框)

原文地址:https://www.cnblogs.com/zmztya/p/7195901.html