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 -> UNIX-like prompt in SQL*PLUS

UNIX-like prompt in SQL*PLUS

From: Thomas.Meyer <meyert_at_dataserv.dla-marbach.de>
Date: 1997/09/26
Message-ID: <MEYERT.97Sep26153146@dataserv.dla-marbach.de>#1/1

Dear oraculars,

I sometimes get confused when I have several SQL*PLUS sessions open, some connected to different instances on one host, some connected to a specific SQL*NET service.

I would like to have the database/service that I'm connected to displayed in the SQL*PLUS prompt, like having the UNIX host name displayed in, say, the ksh prompt.

Do you see a way of bringing the output of "select * from global_name" into the SQL*PROMPT, ideally whenever I do a new "connect"?

When answering, please do a "CC" to Thomas.Meyer_at_dla-marbach.de

Regards,

--

	Thomas Meyer, EDV-Systemadministrator
	  email: Thomas.Meyer_at_dla-marbach.de
	  smail: Deutsches Literaturarchiv Marbach
		 Schillerhoehe 8-10
		 D-71672 Marbach
	Telefon: +49-7144-848-141
	    Fax:          ...-387
	    WWW: http://www.dla-marbach.de
Received on Fri Sep 26 1997 - 00:00:00 CDT

Original text of this message

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