-
2008-09-02 16:17:01 / Oracle数据库管理
create or replace trigger login_a after logon on schemabegininsert into scott.login_tablevalues(sysdate,'login in!');end;/我在scott用户下创建了这个trigger,然后发现只要scott用户连接,login_table中的行数会不段增加,而且把该trigger disable后,也在增加,太奇怪了,这个trigger触发了多次。
查看(65)
评论(4)
-
2008-08-25 16:41:09 / Oracle数据库管理
create table emp_test as select * from soctt.emp;create table abcd as select * from scott.emp;1create or replace procedure show_emp_variable(p_table in varchar2) as2type t_emp_var is ref cursor;3v_cursor_var t_emp_var;4v_empno emp_test.empno%type;5v_ename emp_test.ename%type;6v_sal emp_test.sal%type;7v_comm emp_test.comm%type;8begin9if p_table='emp' then open v_cursor_var for select ename,sal,comm from emp_test;10elsif p_table=
查看(114)
评论(4)
-
2008-08-22 16:31:22 / Oracle数据库管理
create table emp_test(EMPNONUMBER(7,2),ENAMEVARCHAR2(20),JOBVARCHAR2(15),SALNUMBER,COMMNUMBER,FDATEDATE);declarev_emps emp_test%rowtype;cursor c1 is select
查看(184)
评论(7)
-
2008-08-18 13:06:00 / Oracle数据库管理
1. create table test(text long);2. insert into table test select username from dba_users;3. update test set text=(select text from test where rownum=1);第三句报错“ora-00997: illegal use of long datatype”请问该如何处理啊,非常感谢!
查看(81)
评论(7)
-
2008-07-23 12:52:33 / IBM数据库产品
本人从IBM网站下了一个IDS Trial版本,报错,提示“没有找到LIBASM.DLL,因此这个应用程序未能启动。重新安装应用程序可能会修复此问题”不晓得该怎么处理,麻烦高手指点一下。
查看(216)
评论(1)