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

Home -> Community -> Mailing Lists -> Oracle-L -> Appending SQLPLUS output on NT

Appending SQLPLUS output on NT

From: Chuck Hamilton <chuck_hamilton_at_yahoo.com>
Date: Fri, 10 Nov 2000 08:56:19 -0800 (PST)
Message-Id: <10676.121741@fatcity.com>


--0-1649760492-973875379=:11589
Content-Type: text/plain; charset=us-ascii

Use a double > to redirect sqlplus's output.

sqlplus -s < script.sql >> outputfile

script.sql



user/password
select.....
exit

  ARUN K C <arun_k_c_at_hotmail.com> wrote: Hi,
Can somebody please let me know how I can append a file on NT platfomr thro sqlplus so that it doesnt overwrite the file. Cause I am running some monitoring scripts i want all the results to be in the same file.
Thanks in advance



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ARUN K C
INET: arun_k_c_at_hotmail.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).


---------------------------------
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores.  Millions of Products.  All with one Wallet.
--0-1649760492-973875379=:11589
Content-Type: text/html; charset=us-ascii


<P>Use a double &gt; to redirect sqlplus's output.</P>
<P>sqlplus -s &lt; script.sql &gt;&gt; outputfile</P>
<P>script.sql<BR>=======<BR>user/password<BR>select.....<BR>exit<BR></P>
<P>&nbsp; <B><I>ARUN K C &lt;arun_k_c_at_hotmail.com&gt;</I></B> wrote: <BR>
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Hi,<BR>Can somebody please let me know how I can append a file on NT platfomr thro <BR>sqlplus so that it doesnt overwrite the file.<BR>Cause I am running some monitoring scripts i want all the results to be in <BR>the same file.<BR>Thanks in advance<BR><BR>_________________________________________________________________________<BR>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.<BR><BR>Share information about yourself, create your own public profile at <BR>http://profiles.msn.com.<BR><BR>-- <BR>Please see the official ORACLE-L FAQ: http://www.orafaq.com<BR>-- <BR>Author: ARUN K C<BR>INET: arun_k_c@hotmail.com<BR><BR>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051<BR>San Diego, California -- Public Internet access / Mailing Lists<BR>--------------------------------------------------------------------<BR>To REMOVE yourself from this mailing list, sen!
d an E-Mail message<BR>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in<BR>the message BODY, include a line containing: UNSUB ORACLE-L<BR>(or the name of mailing list you want to be removed from). You may<BR>also send the HELP command for other information (like subscribing).</BLOCKQUOTE><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="http://shopping.yahoo.com/">Yahoo! Shopping</a> -
Thousands of Stores. Millions of Products. All with one Wallet.
Received on Fri Nov 10 2000 - 10:56:19 CST

Original text of this message

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