oracle 根据约束名查表名 PK_ID为约束名 select constraint_name,constraint_type,table_name from all_constraints where CONSTRAINT_NAME='PK_ID';