- 3 years, 1 month ago Teja MajetyModerator
- Topics: 12
- Replies: 204
- Total Posts: 216
I have been trying to enrol some of the students through batch registration using query but for some reason, I am getting “Error Conflict”
The below error gets generated when I tried to do batch registration.
[2017-09-20 12:11:09] SQLSTATE: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (database.stac, CONSTRAINT stac_subjectCode FOREIGN KEY (subjectCode) REFERENCES subject (subjectCode) ON DELETE SET NULL ON UPDATE CASCADE)  
and I noticed that there is a record of one person(1st person in the query) in “stcs” table but not in “stac” table.
- This topic was modified 3 years ago by Teja Majety.
You need to login in order to like this post: click here
You must be logged in to reply to this topic.