select a.table_name, a.constraint_name, c.column_name
from user_constraints a, user_constraints b, user_cons_columns c
where a.r_constraint_name = b.constraint_name
and b.table_name = '<원하는 table명>'
and c.constraint_name = b.constraint_name
from user_constraints a, user_constraints b, user_cons_columns c
where a.r_constraint_name = b.constraint_name
and b.table_name = '<원하는 table명>'
and c.constraint_name = b.constraint_name
'Database > Oracle' 카테고리의 다른 글
10g RAC의 Load Balancing과 Failover (1) | 2009.12.30 |
---|---|
Backup and Recover (0) | 2009.12.30 |
Admin Workshop 1 - 구조 (0) | 2009.12.15 |
Query 실행 과정 (1) | 2009.12.15 |
힌트 종류 (0) | 2009.12.15 |