Created
November 22, 2015 07:53
-
-
Save karrikas/f29d45aa0c0bd70f5a36 to your computer and use it in GitHub Desktop.
Drop tables with foreign keys in mysql
This file contains 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 if exists customers; | |
drop table if exists orders; | |
drop table if exists order_details; | |
SET FOREIGN_KEY_CHECKS = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment