Re: SQLPLUS: How can I stop echoing &1 value in SQLPlus tool

From: <pberetta_at_my-deja.com>
Date: Mon, 13 Dec 1999 13:12:21 GMT
Message-ID: <832rbk$3hl$1_at_nnrp1.deja.com>


Salman,

   Try this:

SET VERIFY OFF
select *
from TABLE

where    column1  = &1
 and     column2  = 'N'
 and     column3  ='CONNECT'

order by ACTDATE;
SET VERIFY ON This should supress the OLD/NEW displays. Hope this helps,
Paul

In article <3854D89F.D3F83FEC_at_cyber.net.pk>,   Syed Salman Shakir <ssalman_at_cyber.net.pk> wrote:
>
> --------------CDE375F55C8862A9671B4383
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Hi All,
> I've written an sql script as follows
>
> select *
> from TABLE
> where column1 = &1
> and column2 = 'N'
> and column3 ='CONNECT'
> order by ACTDATE;
>
> I saved it in a file and executed it from the SQL prompt as follows
>
> SQL> _at_filename 1010000
>
> When this command executes, first it displays the old and new value of
> &1 as follows
>
> old 4: where custnum = &1
> new 4: where custnum = 1010001
>
> and then display the resulting values.
>
> My question is how could I prevent my self from this OLD and NEW value
> echo?
> I dont want this echo. I need only the resulting values.
>
> Thanks in advance.
>
> Best Regards,
> Salman
>
> --------------CDE375F55C8862A9671B4383
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> Hi All,
> <br>I've written an sql script as follows
> <p><font face="Arial,Helvetica">select *</font>
> <br><font face="Arial,Helvetica">from&nbsp;&nbsp;&nbsp; TABLE</font>
> <br><font face="Arial,Helvetica">where column1&nbsp; = &amp;1</font>
> <br><font face="Arial,Helvetica">and&nbsp;&nbsp;&nbsp;&nbsp;
column2&nbsp;
> = 'N'</font>
> <br><font face="Arial,Helvetica">and&nbsp;&nbsp;&nbsp;&nbsp;
column3&nbsp;
> ='CONNECT'</font>
> <br><font face="Arial,Helvetica">order by ACTDATE;</font>
> <p>I saved it in a file and executed it from the SQL prompt as follows
> <p><font face="Arial,Helvetica">SQL> _at_filename 1010000</font>
> <p>When this command executes, first it displays the old and new value
> of &amp;1 as follows
> <p><font face="Arial,Helvetica">old&nbsp;&nbsp; 4: where custnum =
&amp;1</font>
> <br><font face="Arial,Helvetica">new&nbsp;&nbsp; 4: where custnum =
1010001</font>
> <p>and then display the resulting values.
> <p>My question is how could I prevent my self from this OLD and NEW
value
> echo?
> <br>I dont want this echo. I need only the resulting values.
> <p>Thanks in advance.
> <p>Best Regards,
> <br>Salman
> <br>&nbsp;</html>
>
> --------------CDE375F55C8862A9671B4383--
>
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Dec 13 1999 - 14:12:21 CET

Original text of this message