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

Home -> Community -> Usenet -> c.d.o.server -> Re: How To Execute Sqlplus Scripts At The Command Line

Re: How To Execute Sqlplus Scripts At The Command Line

From: Dexter <vikram_ramakrishnan_at_ieee.org>
Date: 12 Jan 2005 03:05:10 -0800
Message-ID: <1105527910.319006.232160@f14g2000cwb.googlegroups.com>


Hi,

try putting this in the ksh script you have.

"`sqlplus -S uid/pwd << EOF >> sqllog.log

select sysdate from dual ; -- whatever sql that you want execute. EXIT; EOF`" -Dexter. Received on Wed Jan 12 2005 - 05:05:10 CST

Original text of this message

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