Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

forcefully delete a row in mysql which has references

SET FOREIGN_KEY_CHECKS=0;
DELETE FROM forum WHERE Owner_Id = 1 ORDER BY nright;
SET FOREIGN_KEY_CHECKS=1;
Source by dba.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #forcefully #delete #row #mysql #references
ADD COMMENT
Topic
Name
2+5 =