易截截图软件、单文件、免安装、纯绿色、仅160KB

Oracle查詢歷史操作記錄

 1.以sysdba身份進入
 2.show parameter audit
 3.alter system set audit_sys_operations = true scope = spfile
 4.alter system set audit_trail = db,extended scope = spfile
 5.startup force
 6.show parameter audit
 7.audit select table,insert table,delete table,execute procedure by access


相关文档:

[转载]Oracle存储过程学习

存储过程创建语法:
create or replace procedure 存储过程名(param1 in type,param2 out type) 
as
变量1 类型(值范围);
变量2 类型(值范围);
Begin
    Select count(*) into 变量1 from 表A where列名=param1;
    If (判断条件) then
    &n ......

Oracle JDBC 自带连接池

 http://www.diybl.com/course/3_program/java/javajs/2008429/111906.html
如果要使用池的话,就必须使用OracleConnectionCacheImpl,共有三种池的策略:
DYNAMIC_SCHEME(是动态增加.用完如果超过上限则关掉)
The cache will create connections above the specified maximum limit
when necessary   but ......

Oracle RETURNING INTO 用法示例

The RETURNING INTO clause allows us to return column values for rows affected by DML statements. The following test table is used to demonstrate this clause.
DROP TABLE t1;
DROP SEQUENCE t1_seq;
CREATE TABLE t1 (
id NUMBER(10),
description VARCHAR2(50),
CONSTRAINT t1_pk PRIMARY KEY (id) ......

oracle 回退段 ORA

回滚段用于对数据库修改时, 保存原有的数据, 以便稍后可以通过使用ROLLBACK来恢复到修改前的数据; 另外, 回滚段可以为数据库中的所有进程提供读一致性. 因此, 回滚段设置的合理与否, 直接影响到数据库的性能.
回滚段的维护及查询
(1) 创建回滚段
__CREATE ROLLBACK SEGMENT RB01
__TABLESPACE RBS1
__STORAGE (
____I ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号