set foreign_key_checks = 0 sql server code example Example: foreign key set 0 SET FOREIGN_KEY_CHECKS=0;