Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sqlplus, how to stop output to console

764712Dec 1 2010 — edited Dec 2 2010
Hi,
I'm running the script to unload table into the file, and it works fine, myfile.dat getting its data,
I just want to stop rows I'm getting written into console display, anybody knows what option I can use for that?
That's what I haev inside my ksh:


sqlplus username/password@$_SID <<EOF
set colsep ,
set pagesize 0
set trimspool on
set headsep off
set linesize 150
spool /tmp/myfile.dat

SELECT COL1 FROM TABLE1

EOF


Tx
Trent
This post has been answered by SomeoneElse on Dec 2 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2010
Added on Dec 1 2010
11 comments
28,096 views