随笔分类 -  oracle简单函数

sys_context函数
摘要:sys_contextsys_context(’userenv’,’parameter’) parameter:如下terminal:当前会话客户所对应的终端的标识符 lanuage:语言 db_name:当前数据库名称 nls_date_format:当前会话客户所... 阅读全文
posted @ 2017-06-11 21:10 2637282556 阅读(154) 评论(0) 推荐(0)
oracle函数+虚表dual+order by +having
摘要:一、单行函数(对一行进行操作)- 字符函数 concat(m,n): 拼接m,n并返回 initcap(n): 将n的第一个字母转换为大写instr(x,y,m,n) 在x中查询y的位置. m代表从第几个位置开始查找,n代表字符串y出现的次数; length(... 阅读全文
posted @ 2017-04-24 15:35 2637282556 阅读(164) 评论(0) 推荐(0)