select * from user_constraints a,USER_CONS_COLUMNS b where a.CONSTRAINT_TYPE='P' and a. constraint_name=b.constraint_name and a.constraint_name='主键名';
so? 问题是什么?