Mysql How To Truncate Table With Foreign Keys

[Solved] Mysql How To Truncate Table With Foreign Keys | Sql - Code Explorer | yomemimo.com
Question : mysql how to truncate table with foreign keys

Answered by : cloudy-caracal-kuy8brumvr4u

SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE table1;
SET FOREIGN_KEY_CHECKS = 1;

Source : | Last Update : Sat, 13 Mar 21

Answers related to mysql how to truncate table with foreign keys

Code Explorer Popular Question For Sql