select owner,constraint_name,table_name from user_constraints where owner='用户名' and constraint_type='P' and table_name='表名';