Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: how can fire a procedure when database is going to shutdown

RE: how can fire a procedure when database is going to shutdown

From: Shahid Malik(IT) <shahid.malik_at_pepsi-lahore.com.pk>
Date: Fri, 08 Jun 2001 21:53:42 -0700
Message-ID: <F001.003230FC.20010608214519@fatcity.com>

Thanks Nirmal
I have create this trigger successfully from system user but it is not working when I shut down the database, actually I am trying to send a mail when my database shutdown ,the procedure which I call run successfully from sql but not from this trigger.

        Best Regards,

Shahid Latif

-----Original Message-----
Sent: Friday, June 08, 2001 6:46 PM
To: Multiple recipients of list ORACLE-L

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:shahid.malik_at_pepsi-lahore.com.pk]
> 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: shahid.malik_at_pepsi-lahore.com.pk
>
> 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: ListGuru_at_fatcity.com (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: NIRMALK_at_qtel.com.qa

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: ListGuru_at_fatcity.com (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: Shahid Malik(IT)
  INET: shahid.malik_at_pepsi-lahore.com.pk

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: ListGuru_at_fatcity.com (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).
Received on Fri Jun 08 2001 - 23:53:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US