Skip to Content

Dokter Tekno

Dokter Tekno dot Info

Cara Mengatasi Notifikasi : com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`sik`.`tagihan_sadewa`, CONSTRAINT `tagihan_sadewa_ibfk_1` FOREIGN KEY (`no_nota`) REFERENCES `reg_periksa` (`no_rawat`) ON UPDATE CASCADE) Pada Khanza HMS

Masalah muncul diatas karena di tabel tagihan sadewa key nya belum diupdate DROP TABLE IF EXISTS `tagihan_sadewa`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE Continue Reading »