Forum Orisinil

Kategori Umum => Diskusi Umum => Topic started by: DAF on April 17, 2011, 10:29:01 AM

Title: Gagal bikin kode I5G dan I2 utk produk indosat
Post by: DAF on April 17, 2011, 10:29:01 AM
Bro-bro sekalian,

saat bikin kode i5g & i2 utk produk indosat nominal 5 gprs + nominal 2rb reguler keluar pesan spt ini:

The INSERT statement conflicted with the FOREIGN KEY constraint "FK_parsing_produk".
The conflict occured in database "otomax", table "dbo.produk", coloum "kode".
The statement has been terminated.


Apa ada yg pernah mengalami & bagaimana cara mengatasi ?

Title: Re: Gagal bikin kode I5G dan I2 utk produk indosat
Post by: armada on April 17, 2011, 10:49:02 AM
ini sudah ada di forum dah seperti ini
waktu nambahin kode produk muncul ini knp yah ?(Cannot insert the value NULL into column 'transaksi_nominal',table 'otomax.dbo.produk';column does not allow nulls.Insert fails.The statment has been terminated) mohon bantuannya para otomaxker hehhehe Cheesy

saya kemaring juga ngalami gan...selesai dg ini

1. masuk SQL studio
2. masuk database
3. masuk otomax
4. masuk tables
5. masuk dbo. produk
6. masuk columns
6. cari field transaksi_nominal di colums tersebut
7. klik kanan dan tekan delete lalu ok
8. siap untuk tambahkan data produk baru
Title: Re: Gagal bikin kode I5G dan I2 utk produk indosat
Post by: DAF on April 17, 2011, 01:36:48 PM
Quote
Quote
Cannot insert the value NULL into column 'transaksi_nominal',table 'otomax.dbo.produk';
>> yg di delete kolom transaksi_nominal ya.

Berarti klo kasus saya >>
Quote
The conflict occured in database "otomax", table "dbo.produk", coloum "kode".
>> berarti yg di delete kolom kode dong .. ?
 
Ntar malem aja nyobanya, takutnya ntar semua kode menghilang, rs marah2 lg.