metadata for primary key
I am attempting to create dynamic SQL (select 'select count(*) from '||table_name||' '....) that includes a single-attribute primary key column. How can I determine the column that is defined as the primary key in this dynamic context? It's not in the 'dba_constraints' view.
Thank you.
0