Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: UNIX sqlplus can't echo multiline commands in order

Re: UNIX sqlplus can't echo multiline commands in order

From: <yong321_at_yahoo.com>
Date: 3 Oct 2006 23:58:50 -0700
Message-ID: <1159945130.542241.302930@m73g2000cwd.googlegroups.com>


Malcolm Dew-Jones wrote:
> yong321_at_yahoo.com wrote:
> : I''m sure everyone has seen this. If I copy
>
> : select * from dual;
> : select * from dual;
> : select * from dual;
> : select * from dual;
>
> : from my Windows clipboard and paste them all into sqlplus running on
> : UNIX or Linux, the screen looks like this:
>
> : SQL> select * from dual;
> : select * from dual;
> : select * from dual;
> : select * from dual;
>
> : D
> : -
> : X
>
> : SQL>
> : D
> : -
> : X
>
> : SQL>
> : D
> : -
> : X
>
> : SQL>
> : D
> : -
> : X
>
> : If I do this to DOS sqlplus, I don't have this problem.
>
> What exactly is the problem? It looks like typical unix output to me.
> You pasted in four commands and sqlplus ran four commands.

Sorry I didn't explain it clearly. What I want to see is one command sent, then one result shown on screen, then the next command and then the result, like this:

SQL> select * from dual;

DU

--
X

SQL> select * from dual;

DU
--
X

SQL> select * from dual;

DU
--
X

It's not a big deal if there're only a few lines. But if I paste for
instance tens of lines of PL/SQL code into UNIX sqlplus, the code is
mixed with "SQL>" shown in unpredictable places on screen. It's not
easy to read.

Yong Huang
Received on Wed Oct 04 2006 - 01:58:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US