『ORACLE』 查看主键(11g) select * from user_constraints s where s.TABLE_NAME=upper('emp') and s.CONSTRAINT_TYPE='P';