PK_ID为约束名select constraint_name,constraint_type,table_name from all_constraints where CONSTRAINT_NAME='PK_ID';