简体   繁体   中英

How do I avoid foreign key constraint fail error -

I am currently using dreamweaver and I am trying to insert a record insertion wizard connected to a mysql server. However when I try to update the column I get a foreign key constraint fail and I can understand this is due to me creating a non existent foreign key.But how else can I use an input wizard.

database

Here is the data model. The column I am trying to update is "kommentar" but it is not working, any ideas?

很难说提供的信息,但很可能你在hotellid中使用的值在表格中没有相应的条目。

插入kommentar 之前 ,您可以为酒店运行相同的向导并添加带有所需hotelid的酒店

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM