728x90
728x90
BIG
delete from student where sno='500'
오류 보고 -
ORA-02292: integrity constraint (SYSTEM.ENROL_SNO_FK) violated - child record found
FK오류가 떳는데 이유가 연결되어있는 sno가 있어서 그걸 먼저 지워야 지울 수 있음
먼저 지우니까 잘지워짐
728x90
반응형
BIG
'🍷DataBase > 🎮Oracle' 카테고리의 다른 글
[Oracle/오라클]alter의 여러가지 기능 (0) | 2022.11.14 |
---|---|
[Oracle/오라클] Run Sql command line 창으로 쿼리다루기 (0) | 2022.11.11 |
[Oracle/오라클]ORA-00904: "STUDENT": invalid identifier00904. 00000 - "%s: invalid identifier"*Cause: (0) | 2022.11.09 |
[Oracle/오라클]ORA-00905: missing keyword00905. 00000 - "missing keyword" (0) | 2022.11.09 |
[Oracle/오라클]오류 보고 -ORA-00001: unique constraint (SYSTEM.SYS_C006998) violated (0) | 2022.11.09 |
댓글