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