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: Problem coming out sqlplus from korn shell script

Re: Problem coming out sqlplus from korn shell script

From: Frank Zekert <zekert_at_wmd.de>
Date: Tue, 25 Aug 1998 15:51:44 +0200
Message-ID: <6rufim$m8a$1@ns2.dokumenta.de>


Hi !
your script should look something like this to work as expected :



#!/bin/ksh
date

sqlplus system/manager <<-GET_OUT

        select sysdate from dual;
GET_OUT date


Ramey Muforo schrieb in Nachricht <35E1ED92.6C620E0A_at_gte.net>...
>When I run an oracle script embeded in korn shell, it executes the
>sqlplus commands, but it finishes, it waits at the sqlplus prompt. What
>do I have to do for it to totally get out of sqplus and return to the
>command line.
>
>Thanks in advance for your help.
>Ramey Muforo
>rmuforo_at_tdcs.tel.gte.com
>
Received on Tue Aug 25 1998 - 08:51:44 CDT

Original text of this message

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