Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql delete table with foreign key

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;
Source by alvinalexander.com #
 
PREVIOUS NEXT
Tagged: #mysql #delete #table #foreign #key
ADD COMMENT
Topic
Name
9+7 =