Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORASHUT.bat on 8i ?
Peter,
Instead of running a script to start/stop the db, just start/stop the service. For instance:
net stop OracleServiceSID
This can just be a line in your batch program.
HTH,
Brian
Peter Laursen wrote:
>
> Hi,
>
> In 8.0.5 on Windoze there is a file orashut.bat that is called when the
> database is shutdown. It starts svrmgr30 and does a shutdown by running
> orashut.sql.
>
> I have build in some calls to my own scripts that needs to be run on
> shutdown. How can I do this in 8.1.7 SE? Is there some solution that will
> run unchanged on 8.0.5, 8i and 9i all Windows OS?
>
> TIA
> Peter Laursen
Received on Wed Sep 25 2002 - 10:44:48 CDT