Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
how to truncate table with foreign key constraint
budgies
Programming language:
Whatever
2021-06-21 13:11:08
0
Q:
how to truncate table with foreign key constraint
Lora
Code:
Whatever
2021-08-16 03:45:39
SET FOREIGN_KEY_CHECKS = 0; TRUNCATE table1;
0
Tags
key
table
con
tab
how
Related
ignore foreign key constraint in sequelize
cannot truncate a table referenced in a foreign key constraint
Syntax error or access violation: 1701 Cannot truncate a table referenced in a foreign key constraint
select columns from 2 tables with foreign key
add foreign key
add constraint fk
create table foreign key
New to Communities?
Join the community