oracle编程艺术笔记1
1.parallel execution 并行執(zhí)行
2.strength優(yōu)點(diǎn) weakness缺點(diǎn) seed潛能 virtue 品德 competence能力
3. variable scn numberexec :scn:=dbms_flashback.get_system_change_number;
select * from tablename as of scn :scn;
select * from tablename as of timestamp sysdate-1/1440;?
select timestamp_to_scn(to_date('2010-01-01 10:10:10','yyyy-mm-dd hh24:mi:ss')) from dual;
alter table enable row movement; /*this operation will cause a new rowid;*/
flashback table tablename to scn :scn;
function index: create index t_index on t(nvl(id,-1));
4.better not to create temporary table in procedure:
because DDL statement will commit transaction;
must dynamicly using the temporary table in procedure;
Its performance is worse than static statement.
轉(zhuǎn)載于:https://www.cnblogs.com/asingna/archive/2011/03/15/1984787.html
總結(jié)
以上是生活随笔為你收集整理的oracle编程艺术笔记1的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 腾讯的瓶颈
- 下一篇: Windows 下启动前删除Resin日