I was just wondering how does it?
Thanks in advance.
Printable View
I was just wondering how does it?
Thanks in advance.
It stores it in system tables. Take a look at the user_constraints view.
Select *
From user_constraints
you can also look at all primary key constraints on the system through dba_constraints where constraint_type = 'P'
and if you care to look for the columns on the primary key look at the dba_cons_columns view.