dbms_alert.waitone : DBMS_ALERT « System Packages « Oracle PL/SQL Tutorial






SQL>
SQL> set serveroutput on
SQL> declare
  2      l_status    number;
  3      l_msg       varchar2(1800);
  4  begin
  5      dbms_alert.waitone( name    => 'MyAlert',
  6                          message => l_msg,
  7                          status  => l_status,
  8                          timeout => dbms_alert.maxwait );
  9
 10      if ( l_status = 0 )
 11      then
 12          dbms_output.put_line( 'Msg from event is ' || l_msg );
 13      end if;
 14  end;
 15  /








31.1.DBMS_ALERT
31.1.1.DBMS_ALERT.REGISTER
31.1.2.dbms_alert.waitone
31.1.3.Call dbms_alert.signal in a loop
31.1.4.Signal along with the entries in a table
31.1.5.Singal with dbms_alert.signal
31.1.6.Registers the alert for the session
31.1.7.Call DBMS_ALERT.SIGNAL in a trigger