发布时间:2014-01-30 16:50:45
闪回版本查询SQL> select salary from hr.employees where employee_id = 200; SALARY---------- 4400SQL> update hr.employees set salary = 11111 where employee_id = 200;1 row updated.SQL> commit;Commit complete.SQL> update hr.employees set salary = 22222.........【阅读全文】
发布时间:2014-01-30 15:37:33
1.闪回时间点查询1.查询hr.employess在2014年1月30号下午1点40分37秒所有的行SQL> select * from hr.employees as of timestamp to_timestamp('2014-01-30 13:40:37','YYYY-MM-DD HH24:MI:SS');2.查询100号员工在2014年1月30号下午1点40分37年时候的薪水SQL> select salary from hr.employees as of timestamp to_ti.........【阅读全文】
发布时间:2014-01-30 14:30:43
在做闪回实验时候遇到一个问题,如下,SQL> select * from hr.employees as of timestamp to_timestamp('2012-09-10 18:40:37','YYYY-MM-DD HH24:MI:SS');select * from hr.employees as of timestamp to_timestamp('2011-10-10 18:40:37','YYYY-MM-DD HH24:MI:SS') &n.........【阅读全文】
发布时间:2014-01-30 13:10:20
(1)初始化参数undo_retention[oracle@oracle11g ~]$ sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.3.0 Production on Thu Jan 30 11:58:55 2014Copyright (c) 1982, 2011, Oracle. All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionWith the .........【阅读全文】
发布时间:2014-01-30 11:47:35
如果装完数据库没有该用户,你可以用unistall重新把他装上去的。程序运行执行dbca默认情况下与Scott用户一样是未被激活的。以dba身份登录为hr用户解锁.SQL> alter user hr account unlock;User altered.SQL> alter user hr identified by wwwwww;User altered.SQL> quitDisconnected from Oracle Database 11g E.........【阅读全文】