Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: possible to set continuation prompt in sql*plus?
That's right--I am looking for an analogue to PS<x>. I've been playing around w/sqlcontinue & sqlnumber but so far no joy. I'm using sql*plus 8.0.6.0.0 (running against an 8.1.6 db).
Many thanks to all who responded.
Cheers,
-Roy
Roy Pardee
Programmer/Analyst/DBA
SWFPAC Lockheed Martin IT
Extension 8487
-----Original Message-----
From: Richard Ji [mailto:Richard.Ji_at_ztango.com]
Sent: Tuesday, July 22, 2003 11:15 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: possible to set continuation prompt in sql*plus?
I think so too. I think sqlcontinue and sqlnumber is what this guy is looking for.
-----Original Message-----
Sent: Tuesday, July 22, 2003 1:50 PM
To: Multiple recipients of list ORACLE-L
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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Richard Ji INET: Richard.Ji_at_ztango.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 mayReceived on Tue Jul 22 2003 - 13:15:04 CDT
![]() |
![]() |