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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to run a stored procedure once at db start

Re: How to run a stored procedure once at db start

From: Matthias Gresz <GreMa_at_t-online.de>
Date: Thu, 04 Feb 1999 08:52:17 +0100
Message-ID: <36B951B1.20A10272@Privat.Post.DE>

Andy Hardy schrieb:
>
> In article <36B6C7C7.2B7F_at_bhp.com.au>, Connor McDonald <mcdonald.connor.
> cs_at_bhp.com.au> writes
> >Johnny Verhoeven wrote:
> >>
> >> Hi,
> >>
> >> Is it posible to run a sored procedure once at database startup.
> >> If so, how ?
> >>
> >> Thanks
> >>
> >> johnny
> >
> >
> >Stick it in the "dbstart" script ... Run it directly or create a
> >dbms_job request....
> >
> Erm... presumably this is only on UNIX?
>
> Andy
> --
> Andy Hardy
> Senior IT Systems Engineer, ALSTOM Automation
> Tel: +44 1908 696200
> Fax: +44 1908 696225
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Opinions are mine and do not necessarily reflect those of ALSTOM Automation

Just got a message from oracle support concerning automatic startup of the oracle services and this message included an interesting point which may help you to solve your problem.

    Within the Registry insert a new entry under the key HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/

    Windows NT/CurrentVersion/Winlogon/System for your CMD-File    example:

           "lsass.exe, c:\orant\database\strt<SID>.cmd"     Delimeted by comma you can add several command files. Didn't test may be you do and report about your experiences?

HTH
Matthias
--
Matthias.Gresz_at_Privat.Post.DE

Always log on the bright side of life.
http://www.stone-dead.asn.au/movies/life-of-brian/brian-31.htm Received on Thu Feb 04 1999 - 01:52:17 CST

Original text of this message

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