sql异常中的ibfk_1是什么意思?


Cannot add or update a child row: a foreign key constraint fails ( zqbp . zqbp_custom , CONSTRAINT zqbp_custom_ibfk_1 FOREIGN KEY ( custom_trade ) REFERENCES zqbp_industry ( industry_id ))
《《《《《《《《《《《《《《《《《《《《《《《《《
zqbp_custom_ibfk_1这是什么?我明白这是外键约束的异常,但是不明白为什么给zqbp_custom加上_ibfk_1?

sql java mysql javaweb

nga围观群众 9 years, 1 month ago

外键约束啊, 一般就是外键错误了

sadddd answered 9 years, 1 month ago

Your Answer