Re: PLS HELP: ERROR 1452 (23000) Foreign Key Constraint
Sigh. When I do the same in 5.5.11 it results in the following. Anything else I should be looking at?
Query OK, 0 rows affected (0.08 sec)
Query OK, 0 rows affected (0.12 sec)
Query OK, 0 rows affected (0.07 sec)
Query OK, 0 rows affected (0.09 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0.07 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 1 row affected (0.01 sec)
Query OK, 1 row affected (0.00 sec)
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`constraint_test`.`beneficiary`, CONSTRAINT `FK41BADEC55CE3480` FOREIGN KEY (`insured_id`) REFERENCES `Insured` (`insured_id`))