Hidden features in Oracle

2019-01-12 19:37发布

I enjoyed the answers and questions about hidden features in sql server

What can you tell us about Oracle?
Hidden tables, inner workings of ..., secret stored procs, package that has good utils...

21条回答
贼婆χ
2楼-- · 2019-01-12 19:46
Evening l夕情丶
3楼-- · 2019-01-12 19:46

Snapshot tables. Also found in Oracle Lite, and extremely useful for rolling your own replication mechanism.

查看更多
不美不萌又怎样
4楼-- · 2019-01-12 19:49

Q: How to call a stored with a cursor from TOAD?

A: Example, change to your cursor, packagename and stored proc name

declare cursor PCK_UTILS.typ_cursor;  

begin   
    PCK_UTILS.spc_get_encodedstring(  
        'U',  
        10000002,  
        null,  
        'none',  
        cursor);  
end;
查看更多
地球回转人心会变
5楼-- · 2019-01-12 19:51

The Model Clause (available for Oracle 10g and up)

查看更多
我欲成王,谁敢阻挡
6楼-- · 2019-01-12 19:52

If you get the value of PASSWORD column on DBA_USERS you can backup/restore passwords without knowing them:

 ALTER USER xxx IDENTIFIED BY VALUES 'xxxx';
查看更多
我想做一个坏孩纸
7楼-- · 2019-01-12 19:53

Frequent rebuilding of indexes is almost always a waste of time.

查看更多
登录 后发表回答