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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Calling SQL statement

Re: Calling SQL statement

From: Gene Sais <Gsais_at_co.palm-beach.fl.us>
Date: Thu, 14 Mar 2002 05:33:25 -0800
Message-ID: <F001.00428FD7.20020314053325@fatcity.com>


!/bin/ksh
sqlplus / <<EOF
select sysdate from dual;
EOF
exit

>>> waibals_at_mtn.co.ug 03/14/02 06:26AM >>>

Hi all,
How do I issue SQL staments to the Oracle server from shell scripts -preferably korn shell. Example scripts highly welcome.

Thanx 'n Ciao

+---------------------------------------------------+
CSW,
MTN-Uganda, 8th Floor UDB Building
Cell: 077-212655,http://mtn.co.ug
+---------------------------------------------------+ 

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
--
Author: Simon Waibale
  INET: waibals_at_mtn.co.ug 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gene Sais
  INET: Gsais_at_co.palm-beach.fl.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Mar 14 2002 - 07:33:25 CST

Original text of this message

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