Last active
October 9, 2018 14:21
-
-
Save Ikhiloya/9fa75ed7bcbcdf0eef03a09a23340b0f to your computer and use it in GitHub Desktop.
Delete a table with foreign key constraints 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
set foreign_key_checks = 0; | |
drop table sla_matrix_config cascade; | |
set foreign_key_checks = 1; | |
--OR-- | |
drop table gender_tab cascade constraints; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment