Data Base
How to TRUNCATE table if FK added in table ?
Oct 31, 2022
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE table online_audit_master.hc_ad_user_application;
SET FOREIGN_KEY_CHECKS = 1;
SET FOREIGN_KEY_CHECKS = 0;
TRUNCATE table online_audit_master.hc_ad_user_application;
SET FOREIGN_KEY_CHECKS = 1;
Java, Spring Boot & Microservices developer Sharing knowledge, tutorials & coding tips on my Medium page. Follow me for insights & see story list section