How to temporarly ignore foreign keys in MySQL InnoDB.

By Joao


SET FOREIGN_KEY_CHECKS = 0;
SELECT @@FOREIGN_KEY_CHECKS;
SET FOREIGN_KEY_CHECKS = 1;

Alexander Stetsenko blog has more info about it.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.


, ,

categoriaTechnology commentoNo Comments dataOctober 19th, 2009

About... Joao

This author published 24 posts in this site.

Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

Leave a comment