try this:
select dbms_metadata.get_ddl('TABLE', '$TABLE', '$THEME') from dual;
this will display the command used to create the table and it should contain the primary key you are looking for.
select dbms_metadata.get_ddl('TABLE', '$TABLE', '$THEME') from dual;
this will display the command used to create the table and it should contain the primary key you are looking for.