Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

DROP TABLes regardless of constraints

SET FOREIGN_KEY_CHECKS = 0;

DROP TABLE <table_name>

-- if you want to later add or modify foreign keys
SET FOREIGN_KEY_CHECKS = 1;
 
PREVIOUS NEXT
Tagged: #DROP #TABLes #constraints
ADD COMMENT
Topic
Name
1+3 =