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: Instream SQL

Re: Instream SQL

From: Nicolai Tufar <ntufar_at_apb.com.tr>
Date: Fri, 08 Feb 2002 10:00:13 -0800
Message-ID: <F001.0040A3B7.20020208082829@fatcity.com>

> I have a Unix batch script that calls a short (5 line) SQL script. Is
there
> any way to include the SQL statements in the Unix script
> instead of calling the SQL?

#!/bin/sh
sqlplus user/pass <<EOF

select ....
update....
delete....

EOF

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nicolai Tufar
  INET: ntufar_at_apb.com.tr

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 Fri Feb 08 2002 - 12:00:13 CST

Original text of this message

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