Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: possible to set continuation prompt in sql*plus?
If that's the impression, then no, there's only one, sqlprompt.
Dick Goulet
Senior Oracle DBA
Oracle Certified 8i DBA
-----Original Message-----
From: Stephen Lee [mailto:Stephen.Lee_at_DTAG.Com]
Sent: Tuesday, July 22, 2003 1:50 PM
To: Multiple recipients of list ORACLE-L
Subject: RE: possible to set continuation prompt in sql*plus?
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?
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephen Lee INET: Stephen.Lee_at_DTAG.Com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jul 22 2003 - 14:22:15 CDT
![]() |
![]() |