How to suppress Oracle old,new messages in SQLPLUS ? - Oracle Server
This is a discussion on How to suppress Oracle old,new messages in SQLPLUS ? - Oracle Server ; Hi I have the following: shell script A.sh -------------------------- nohup ./B.sh $ts $locate $5 $7 $3 $4 $9 & shell script B.sh ------------------------ : : while 1 sqlplus -s $5/$6@$7 @c.sql $3 >> fc1 end When I tail -f fc1, ...
![]() |
| | LinkBack (1) | Thread Tools | Display Modes |
#1
| |||
| |||
| I have the following: shell script A.sh -------------------------- nohup ./B.sh $ts $locate $5 $7 $3 $4 $9 & shell script B.sh ------------------------ : : while 1 sqlplus -s $5/$6@$7 @c.sql $3 >> fc1 end When I tail -f fc1, I get old 1: select count(*) from v$session a where a.username='&1' and a.status='AC TIVE' new 1: select count(*) from v$session a where a.username='test' and a.status='ACTIVE' 0 I just want to see 0 appended to fc1 file. Thanks |
|
#2
| |||
| |||
|
> > I have the following: > > shell script A.sh > -------------------------- > nohup ./B.sh $ts $locate $5 $7 $3 $4 $9 & > > > > shell script B.sh > ------------------------ > > : > : > while 1 > sqlplus -s $5/$6@$7 @c.sql $3 >> fc1 > end > > > When I tail -f fc1, I get > > old 1: select count(*) from v$session a where a.username='&1' and > a.status='AC > TIVE' > new 1: select count(*) from v$session a where a.username='test' and > a.status='ACTIVE' > > 0 > > I just want to see 0 appended to fc1 file. > Try : SET VERIFY OFF |
|
#3
| |||
| |||
|
Hi zw, On 2008-02-03 07:23:35 +0100, zw > old 1: select count(*) from v$session a where a.username='&1' and > a.status='ACTIVE' > new 1: select count(*) from v$session a where a.username='test' and > a.status='ACTIVE' > > 0 .... make yourself familiar with the "show" and "set" options of the sqlplus command. Read the "Oracle SQL*Plus User's Guide and Reference"... -- cul8er Paul paul.foerster@gmx.net |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://dbaspot.com/forums/oracle-server/367673-how-suppress-oracle-old-new-messages-sqlplus.html | ||||
| Posted By | For | Type | Date | |
| Suppressing Variable Substitutions and Header in Oracle SQL-Scripts « experiences in software architecture | This thread | Pingback | 12-04-2008 09:07 AM | |
All times are GMT -4. The time now is 07:24 AM.





Linear Mode
