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!

How do I make a silent sqlplus script?

385558Nov 6 2003 — edited Jul 9 2004
I am executing a script script that looks something like this ...

sqlplus -s /nolog <<SQL
set feedback off
set serveroutput on
connect scott/tiger@testdb
declare
begin
DBMS_OUTPUT.PUT_LINE( 12 );
end;
/
SQL

the output is ...
Connected.
12

I just want to see 12. How can I stop sqlplus from outputting the Connected.

I am using SQL*Plus Release 8.1.7.0.0

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2004
Added on Nov 6 2003
13 comments
1,119 views