2014年12月22日
摘要: 在表中循环插入日期--创建会话级临时表create global temporary table rq(id number primary key ,sj varchar2(20))on commit preserve rowsselect * from rq--循环插入日期declare c_i ... 阅读全文
posted @ 2014-12-22 09:39 相约future 阅读(417) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure pro_tableesists (v_table in varchar2) isv_num number;begin select count(*) into v_num from user_objects where object_name... 阅读全文
posted @ 2014-12-22 09:10 相约future 阅读(245) 评论(0) 推荐(0) 编辑
摘要: listagg( ) within group ( order by ) 与 wm_concat--oracle 11g 及以后适合 最好select spbywslid,listagg(xm,',') within group (order by spbywslid) col_name fr... 阅读全文
posted @ 2014-12-22 09:08 相约future 阅读(10606) 评论(1) 推荐(2) 编辑