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

Home -> Community -> Usenet -> c.d.o.misc -> Re: calling sql from korn shell script

Re: calling sql from korn shell script

From: HansF <News.Hans_at_telus.net>
Date: Wed, 05 Oct 2005 00:43:18 GMT
Message-Id: <pan.2005.10.05.00.42.00.477991@telus.net>


On Tue, 04 Oct 2005 17:36:42 -0700, joel-garry interested us by writing:

> Does putting an exit before the SQLEND help?
>
> Also, you might
> echo "user/pass_at_whataever
> select * from emp;" |sqlplus -s > $logfile
>
> jg

(Actually, on my system, using #! instead of !# on line 1 worked. /Hans) Received on Tue Oct 04 2005 - 19:43:18 CDT

Original text of this message

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