Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file for STARTUP/SHUTDOWN ORACLE database

Status
Not open for further replies.

dejanj

Programmer
Apr 22, 2002
25
AU
Hi All,

I would like to automate process of starting up Oracle 8i database on WIN2000 machine. I understand i can set to start Oracle8i ( SID ) service to automatic ( using Services control panel ) but i would like to automate the sequence of starting and shuting down Oracle database through use of SVRMGRL

SET ORACLE_SID=CABP

SVRMGRL
> connect internal/manager
> startup

or shuting down database

SET ORACLE_SID=CABP

SVRMGRL
> connect internal/manager
> shutdown immediate

Thanks

Regards
Dejan
 
you would use oradim -stop and oradim -start to control your instance startup/shutdown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top