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: John Kanagaraj <john.kanagaraj_at_hds.com>
Date: Fri, 08 Feb 2002 10:48:10 -0800
Message-ID: <F001.0040A632.20020208093830@fatcity.com>

<OT Warning On>

List,

I move that we choose Bambi as the 'funnest' person on this list! Thanks for that ROTFL on a Friday morning. Sets the mood for the weekend.

John Kanagaraj

> -----Original Message-----
> From: Bellows, Bambi [mailto:BBellows_at_usg.com]
> Sent: Friday, February 08, 2002 8:18 AM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Instream SQL
>
>
> I'm a little confused. It sounds like what you're trying to do is:
>
> #!/bin/ksh
> echo "Look at me! I'm in a Unix script!"
> sleep 5
> sqlplus << EOF
> system/incredibly_secret_password
> select 'Look at me... here in SQL*Plus! Life is grand!'
> from dual;
> !echo "Where am I? I'm so confused! There's an orange
> elephant here!"
> exit
> EOF
> echo "Wasn't that fun?"
> exit
>
> HTH,
> Bambi.
>
> -----Original Message-----
> Sent: Friday, February 08, 2002 8:23 AM
> To: Multiple recipients of list ORACLE-L
>
> 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?
>
> Ron Smith
> DBA
> Kerr-McGee Corp
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Smith, Ron L.
> INET: rlsmith_at_kmg.com
>
> 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: Bellows, Bambi
> INET: BBellows_at_usg.com
>
> 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: John Kanagaraj
  INET: john.kanagaraj_at_hds.com

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:48:10 CST

Original text of this message

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