可以依照SCHEMA展出沒有設PK的TABLE
def schema_name = &&owner_name
col sname format a
col tname format a
select
dt
dt
from
sys
where
dt
and
not exists
(select
where dc
and dc
and nstraint_type =
order by
/
執行結果
Schema Table Name
APPLE TEST_TB
APPLE KKK
APPLE P
APPLE PLAN_TABLE
APPLE QQ
APPLE T
APPLE T
APPLE T
From:http://tw.wingwit.com/Article/program/Oracle/201311/17958.html