search

Home  >  Q&A  >  body text

java - 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?

伊谢尔伦伊谢尔伦2807 days ago838

reply all(1)I'll reply

  • 迷茫

    迷茫2017-04-17 15:47:09

    Foreign key constraints, usually the foreign key is wrong

    reply
    0
  • Cancelreply