latif,

which version of oracle u have, if have 8i server, u can use database
triggers.

create trigger shutdown_db before shutdown on database
begin
     pro_name; --- call ur procedure here........
end;
/

Hope that this would help you.

Nirmal.


> -----Original Message-----
> From: Shahid Malik(IT) [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 11:06 AM
> To:   Multiple recipients of list ORACLE-L
> Subject:      how can fire a procedure when database is going to shutdown
> 
> Hi ,
> 
>      How can I fire a procedure when database is going to shutdown .
> TIA.
> 
> Shahid Latif
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Shahid Malik(IT)
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to