此问题为建表创建主键的时候遇到 原因为同工作空间 已经有同名主键在另一个表中 查询同名约束所在表方法 select * from user_constraints where constraint_name='键名'