@echo off

echo connect INTERNAL/ORACLE                   >%0.tmp
echo STARTUP OPEN >>%0.tmp
echo exit 8; >>%0.tmp

rem -- Run sql script --

sqlplus /nolog @%0.tmp

rem -- Cleanup -- 
del %0.tmp
