select constraint_name, column_name, position from user_cons_columns where constraint_name =
(select constraint_name from user_constraints where table_name='table_name' and constraint_type='P');
(select constraint_name from user_constraints where table_name='table_name' and constraint_type='P');