摘要:
CREATE OR REPLACE PROCEDURE abcde(mgr in number)as type t_pubapplyrow is record( v_empno number(4), v_ename varchar2(10) ); v_mgr emp.mgr%type; type cur_test is ref cursor; emp_cur cur_test; ...
阅读全文
posted @ 2007-08-12 17:05
东方新秀
阅读(608)
推荐(0)
摘要:
CREATE OR REPLACE PROCEDURE proc_emp(mgr in number)is sqlstr varchar2(800); v_mgr emp.mgr%type; type cur_test is ref cursor; emp_cur cur_test; v_empno number(4); v_ename varchar2(10); --temp_tb...
阅读全文
posted @ 2007-08-11 13:42
东方新秀
阅读(211)
推荐(0)
摘要:
http://www.hgsql.com/forum/index.asp
阅读全文
posted @ 2007-08-02 23:50
东方新秀
阅读(370)
推荐(0)
摘要:
http://news.csdn.net/n/20070730/106848.html
阅读全文
posted @ 2007-08-01 12:54
东方新秀
阅读(223)
推荐(0)
摘要:
http://www.iciba.com/distinguish/http://sl.iciba.com/http://fy.iciba.com/appe mode (编辑)for recno()<100vf field
阅读全文
posted @ 2007-07-30 23:20
东方新秀
阅读(192)
推荐(0)
摘要:
http://download.oracle.com/docs/cd/B19306_01/rac.102/b28759/toc.htm
阅读全文
posted @ 2007-07-15 22:41
东方新秀
阅读(1572)
推荐(0)
摘要:
select * from abc where trunc(add_months(to_date(InLiBDate,'yyyy-mm-dd'),StorageLife*12))-trunc(sysdate) between -7 and 0
阅读全文
posted @ 2007-07-15 22:25
东方新秀
阅读(150)
推荐(0)
摘要:
create or replace package PKG_Tools is type ResultData is ref cursor; procedure sp_Page(p_PageSize int, --每页记录数 p_PageNo int, --当前页码,从 1 开始 ...
阅读全文
posted @ 2007-07-15 22:06
东方新秀
阅读(1708)
推荐(1)
摘要:
select to_date(to_number(to_char(sysdate,'yyyymmdd'))-1,'yyyy-mm-dd') from dual;oracle更新语句:update tablename a set name=(selete name from (select * from tablename where RandomId=0) b where to_number(s...
阅读全文
posted @ 2007-07-15 21:09
东方新秀
阅读(160)
推荐(0)
摘要:
表空间 空间大小 使用多少空间 剩余多少空间select ff.s tablespace_name, ff.b total, (ff.b - fr.b) usage, fr.b free, round((ff.b - fr.b) / ff.b * 100) || '%' usagep from (select tablespace_name s, ...
阅读全文
posted @ 2007-07-07 14:28
东方新秀
阅读(171)
推荐(0)