제약사항 생성쿼리
select dbms_metadata.get_ddl('CONSTRAINT', c.constraint_name) from user_constraints c where c.constraint_type = 'P';