Last active
June 14, 2019 16:19
-
-
Save Hazem-Ben-Khalfallah/b0afb6e9b0361b48ef4738d810773753 to your computer and use it in GitHub Desktop.
[Disable a foreign key constraint in MySQL] #sql #mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#disable | |
SET FOREIGN_KEY_CHECKS=0; | |
#reenable | |
SET FOREIGN_KEY_CHECKS=1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment