Hello,
On Sun systems I can easily run SQLPlus commands\session from a UNIX shell script as show below:
I am clueless how to do this in a Windows 2000 standard batch file (.bat). I have been trying variations of this without success:
What can you recommend?
Thanks JT
On Sun systems I can easily run SQLPlus commands\session from a UNIX shell script as show below:
Code:
$ORACLE_HOME/bin/sqlplus "/ as sysdba" << SQLPLUS_SESSION
SELECT * FROM emp;
exit
SQLPLUS_SESSION
I am clueless how to do this in a Windows 2000 standard batch file (.bat). I have been trying variations of this without success:
Code:
%ORACLE_HOME%\bin\sqlplus "/ as sysdba" << SQLPLUS_SESSION
SELECT * FROM emp;
exit
SQLPLUS_SESSION
What can you recommend?
Thanks JT