Friday, July 25, 2008

skip FK check in MySql

run this before the query of concern.

SET foreign_key_checks=false;

Note this only works within the same connection.

No comments: