Dear colleagues, I'm picking up to make Oracle display an informational message to the user, only informative. I do not want to lock anything ... just alert the user.
I did like this ...:
--------------------------------- -----------------------------------------------
create or replace trigger MostraAviso
before insert on tabelaX
for each row
declare
-- local variables here
begin
---MSG DE AVISO
If (:new.ati_in_codigo in (3)) Then
raise_application_error(-20001,'..ATENÇÃO ! Produto Tóxico !');
end if;
END;
This way I did. .. the message is in loop ... this is the user clicks on ok .... and the message back on the screen .....
someone has any idea how to solve I can resolve this ...?
Thanks for the attention ....
Celsobtu