Dear all,

Bagaimana cara menangkap error message yg ditampilkan ketika execute query?

Contoh, saya insert ke table X, dan menghasilkan error sbb :



ORA-20044: 0044 - Referential Number has been used in previous payment
record.

ORA-06512: at "ME.TRG_BEFINS_X", line 110

ORA-04088: error during execution of trigger 'ME.TRG_BEFINS_X'

ORA-06512: at "ME.TRG_BEFINS_Y", line 44

ORA-04088: error during execution of trigger 'ME.TRG_BEFINS_Y'



Nah saya ingin tangkap error message itu, dan menyimpannya ke dalam table
untuk keperluan LOGGING.

Bagaimana cara nangkep error mesasage itu ya?


Thanks,


[Non-text portions of this message have been removed]

Kirim email ke