Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3895 มุมมอง

every time i try to remove a contract it says it's impossible due to integrity rules. How is it possible to delete a contract?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

It's because there are other records using/referring to that contact. So in order to delete it, you first have to delete all the child elements or records that are associated with it, and then only you can delete this record. As the ON DELETE CASCADE is not there for the constraint, hence the child elements/records are getting deleted.

Thanks

อวตาร
ละทิ้ง