Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> How to run sql*plus and its command in Windows as batch job?

How to run sql*plus and its command in Windows as batch job?

From: Chuan Zhang <Chuan.Zhang_at_transact.com.au>
Date: Thu, 20 Mar 2003 14:17:28 +1100
Message-Id: <24715.322464@fatcity.com>


Hi, All,

  In unix, we can put following commands in a file and run that file. For example:

$ORACLE_HOME/bin/sqlplus /nolog << EOF
connect test/test
alter sesion set sql_trace=true
select count(*) from product_temp p, invoice_temp i where p.invpsid=i.invoiceid;
disconnect
exit
EOF What's the corresponding format on windows?

Your input is precious, Received on Wed Mar 19 2003 - 21:17:28 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US