@echo off rem ----------------------------------------------------------------------- rem Filename: DBStart.bat rem Purpose: Start an Oracle database rem Date: 05-Mar-2002 rem Author: Frank Naude, Oracle FAQ rem ----------------------------------------------------------------------- rem -- Set Database SID -- set ORACLE_SID=sgnt rem -- Create SQL Script to START the DB -- echo set echo on > %0.tmp echo connect sys/orcl as sysdba; >> %0.tmp echo startup force; >> %0.tmp echo exit; >> %0.tmp rem -- Do the Startup -- sqlplus /nolog @%0.tmp rem -- Cleanup -- del %0.tmp