Mysql SET Foreign_key_check=0


/ Published in: MySQL
Save to your folder(s)

to truncate table with foreign keys


Copy this code and paste it in your HTML
  1. set foreign_key_checks=0; truncate goco_product_master; set foreign_key_checks=1;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.