set foreign key checks 0 sql code example Example: disableforiegn key check SET FOREIGN_KEY_CHECKS=0;