|
|
发表于 2012/5/3 13:57:08
|
显示全部楼层
错误
SQL 查询:
--
-- Dumping data for table `accountsection`
--
REPLACE INTO `accountsection` ( `sectionid` , `sectionname` )
VALUES ( 1, '����'),( 2, '����'),
( 5, '���ӷ���'),
(10, '�̶��ʲ�'),
(20, 'Ӧ�տ���'),
(30, 'Ӧ������'),
(50, '������Ȩ��');
MySQL 返回:
#1451 - Cannot delete or update a parent row: a foreign key constraint fails ("detai"."accountgroups", CONSTRAINT "accountgroups_ibfk_1" FOREIGN KEY ("sectioninaccounts") REFERENCES "accountsection" ("sectionid"))
|
|