Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Unix bourne shell HELP
This is a multi-part message in MIME format.
------=_NextPart_000_0011_01BFD9FC.ED0FE0D0 Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I'm executing this bourn shell script below. When I call the file to = execute, I'm only getting logged on to sql plus with sqlplus /nolog.=20
How can I get the other statements to execute??
thanks
#!/bin/sh
sqlplus /nolog
connect internal
select * from cat;
exit
------=_NextPart_000_0011_01BFD9FC.ED0FE0D0 Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm executing this bourn shell script =
below. When I=20
cal</FONT><FONT face=3DArial size=3D2>l the file to execute, I'm only =
getting logged=20
on to sql plus with sqlplus /nolog. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How can I get the other statements to=20
execute??</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>#!/bin/sh</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>sqlplus /nolog</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>connect internal</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>select * from cat;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>exit<BR></FONT></DIV></BODY></HTML>
Received on Mon Jun 19 2000 - 13:44:52 CDT