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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: possible to set continuation prompt in sql*plus?

RE: possible to set continuation prompt in sql*plus?

From: Stephen Lee <Stephen.Lee_at_DTAG.Com>
Date: Tue, 22 Jul 2003 11:51:49 -0500
Message-Id: <25988.338918@fatcity.com>


I got the impression that the question is if sql plus has the equivalent of the Unix PS1, PS2, PS3, PS4 prompts.

> -----Original Message-----
>
> The command is "set sqlprompt".
>
>
> -----Original Message-----
>
> Greetings all,
>
> I've set up my login.sql so that my prompt shows my username
> & the sid of the db to which I'm connected. This works well,
> but has made it tough to drag-select text b/c now the first
> line sticks way out relative to the continuation lines, like so:
>
> rpardee_at_prod> select username
> 2 from dba_users
> 3 where username like '%MC%' ;
>
> Is it possible to specify the prompt that shows on
> continuation lines (or otherwise pad it out) in sql*plus?
Received on Tue Jul 22 2003 - 11:51:49 CDT

Original text of this message

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