Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Cannot add or update a child row: a foreign key constraint fails
- git reflog
- Path Variable
- event loop
- 1450
- Late row lookup
- 페이지네이션 최적화
- Invalid character found in method name
- foreign key constraint fails
- 23000
- reflog
- kafka connect
- Query String
- 1452
- programmers
- kafka-connect
- API 설계
- 참조무결성
- code --no-sandbox
- 제약 조건
- kafkaconnect
- jdbc connector
- Pagination Optimization
- Cannot delete or update a parent row: a foreign key constraint fails
- debezium
- 문자열 검증
- 페이지네이션
- Git
- git rebase -i
- constraint fails
Archives
- Today
- Total
목록1452 (1)
Kawaii_Jordy
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/mZbfk/btq6QOF6IWq/pIISscrtKUOQCH0jcKRKY0/img.png)
Problem (1452): Cannot add or update a child row: a foreign key constraint fails Foreign key에 값을 삽입할 때, 참조하는 테이블의 Primary key에 해당하는 값만 삽입해야 하지만 이를 어길 시 위의 에러가 발생한다. Solution 참조하는 테이블의 Primary key에 값을 넣어준 뒤, 참조 받는 테이블의 Foreign key의 값을 참조하는 테이블의 Primary key의 값으로 넣어준다.
취준/DB
2021. 5. 8. 13:31