--SEE THE CONSTRAINTS ON A TABLE
SELECT COLUMN_NAME, CONSTRAINT_NAME FROM USER_CONS_COLUMNS WHERE TABLE_NAME = 'TBL_CUSTOMER';
--OR FOR LESS DETAIL
SELECT CONSTRAINT_NAME FROM USER_CONSTRAINTS WHERE TABLE_NAME = 'TBL_CUSTOMER';
select a.constraint_name as f_key,
a.owner as f_owner,
a.table_name as f_table,
a.r_constraint_name as p_key,
a.r_owner as p_owner,
b.table_name as p_table