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: SID on sqlplus prompt?

Re: SID on sqlplus prompt?

From: Gene Sais <Gsais_at_co.palm-beach.fl.us>
Date: Fri, 08 Jun 2001 14:46:50 -0700
Message-ID: <F001.00322EA5.20010608143602@fatcity.com>

I use this: glogin.sql file found in $OH/sqlplus/admin on the db server. hth.

gene

--

set term off
-- Set default date format Y2K

alter session set nls_date_format="DD-MON-YYYY";

select instance_name, lower(instance_name) passout from gv$instance; set term on
set sqlprompt '&&dbname>'
column name print

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Gene Sais
  INET: Gsais_at_co.palm-beach.fl.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists

--------------------------------------------------------------------
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 Fri Jun 08 2001 - 16:46:50 CDT

Original text of this message

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