the structure of scripts is as follows ...
 
set ...
declare
  v_alert_msg    varchar2(20);
  v_alert_status number;
begin
  dbms_alert.register('START_NOW');
  -- first wait for alert to be received ...
  dbms_alert.waitone('START_NOW',v_alert_msg, v_alert_status);
  -- your rest of script code ...
...
 
 
all scripts will be fashioned like this, once you are ready to go ... all you need to do is
 
exec dbms_alert.raise('START_NOW',null);
commit;
 
HTHS
Raj
--------------------------------------------------------------------------------
Rajendra dot Jamadagni at nospamespn dot com
All Views expressed in this email are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !
-----Original Message-----
From: Tanel Poder [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 7:15 PM
To: Multiple recipients of list ORACLE-L
Subject: Re: creating test sessions

Sorry, it's either too late or I just don't get it, how come any instances of this sql script would wait for an alert?
Is there any mechanism inside the sql script?
 
Tanel.
********************************************************************This e-mail 
message is confidential, intended only for the named recipient(s) above and may 
contain information that is privileged, attorney work product or exempt from 
disclosure under applicable law. If you have received this message in error, or are 
not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 
and delete this e-mail message from your computer, Thank 
you.*********************************************************************1

Reply via email to