DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
ERROR 1451: 1451: Cannot delete or update a parent row: a foreign key constraint fails
SET FOREIGN_KEY_CHECKS=0; -- to disable them SET FOREIGN_KEY_CHECKS=1; -- to re-enable them
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#ERROR
#Cannot
#delete
#update
#parent
#foreign
#key
#constraint
#fails
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit