我正在尝试截断 sales_flat_order 表。但我得到以下错误
#1701 - Cannot truncate a table referenced in a foreign key constraint
(`dbmigrate1`.`sales_recurring_profile_order`, CONSTRAINT
`FK_7FF85741C66DCD37A4FBE3E3255A5A01` FOREIGN KEY (`order_id`)
REFERENCES `dbmigrate1`.`sales_flat_order` (`entity_id`))
但
从 sales_flat_order 中删除
空订单和订单相关的其他表。
但实际上我想截断表格。