Posts Tagged ‘foreignkey’

You can add this line in top of your script which will allow you to insert any foreign values.

SET FOREIGN_KEY_CHECKS = 0;

And then at end again add

SET FOREIGN_KEY_CHECKS = 1;

 

Advertisements