CASCADE

차노·2023년 8월 29일
0

SQL

목록 보기
24/26

CASCADE in SQL is used to simultaneously delete or update an entry from both the child and parent table.

SQL에서 케스케이드는 자식과 부모 테이블의 엔트리를 동시에 지우거나 업데이트한다.

묶음처리한다. => 효율성 🤟

The keyword CASCADE is used as a conjunction while writing the query of ON DELETE or ON UPDATE. If the cascade keyword is added to a query written for the parent table, then both the parent and child tables change accordingly on the execution of the query.

It can be executed in a single query.

0개의 댓글

관련 채용 정보