0
推荐
1238
阅读

oracle常用函数 个人整理

/*读取字符串长度*/select length(string) from dual;/*将字符串的所有字符转成大写*/select upper(string) from dual;/*将字符串的所有字符转成小写*/select lower(string) from dual;/*返回一个n1除以n2的余数*/select mod(n1,n2) from dual;/*round按照指定的精度进行舍入,trunc直接舍去*/--举例select round(55.885...

发表了文章 • 2016-08-25 22:27 • 0 条评论