DB

외래키 제약조건 걸린 테이블 삭제 방법

송민준 2019. 12. 24. 10:26

삭제하고싶은 테이블을 board라고 하면

drop table board cascade constraints;

이렇게 삭제하며 된다.