Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Appending SQLPLUS output on NT
--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
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
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-asciiReceived on Fri Nov 10 2000 - 10:56:19 CST
<P>Use a double > to redirect sqlplus's output.</P>
<P>sqlplus -s < script.sql >> outputfile</P>
<P>script.sql<BR>=======<BR>user/password<BR>select.....<BR>exit<BR></P>
<P> <B><I>ARUN K C <arun_k_c_at_hotmail.com></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.