Temporarily disable a foreign key constraint in MySQL

SET FOREIGN_KEY_CHECKS=0;

make sure to



SET FOREIGN_KEY_CHECKS=1;

when finish.

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows