Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

error code 1451 sql

SET FOREIGN_KEY_CHECKS=0;
Now you can fire your query.
DELETE FROM TABLE WHERE ID = 'Somthing';
You can enable foreign key again
SET FOREIGN_KEY_CHECKS=1;
Source by findnerd.com #
 
PREVIOUS NEXT
Tagged: #error #code #sql
ADD COMMENT
Topic
Name
7+5 =