Hi Risty, Saya mau tanya mengenai business procedurenya., karena mungkin anda melakukan sesuatu yang tidak perlu. Apa yang membedakan record berikut, sehingga mereka harus dipisah berdasarkan no urutnya?? Saya liat no_trans, tgl trans, item sama semua, kenapa kalau ini adalah satu transaksi mereka harus dipisah recordnya
55 01/05/08 1 A 2 100 200 55 01/05/08 2 A 1 50 50 2008/7/15 risty <[EMAIL PROTECTED]>: > Dear all masters... > > saya adalah pemula oracle,bagaimana menghindari error mutating trigger > bilamana triggenya mengakumulasi qty dari table_a itu sendiri > > mis: table detil_a > > no_trans tgl_tans no_urut item box isi tot_qty > ------------ ------------ ----------- -------- ------ ---- --------- > 55 01/05/08 1 A 2 100 200 > 55 01/05/08 2 A 1 50 50 > 56 01/05/08 1 B 1 200 200 > > akan otomatis di insert ke table_b lewat trigger > > no_trans tgl_tans item tot_qty > ------------ ------------ ------- ------- > 55 01/05/08 A 250 > 56 01/05/08 B 200 > > Harus seperti apa trigger yg harus dibuat, mohon solusinya?? > > thx > > [Non-text portions of this message have been removed] > > > -- Cheers, Yoel Susanto www.indo-oracletech.com [Non-text portions of this message have been removed]

