Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Customize my SQLPlus login
in your oracle /bin directory - you need to alter (Or create) a login.sql file
here's what mine looks like - feel free to alter
/* **** start **** */
set heading on
set pause off
set pages 23
set lines 100
set verify off
set feedback on
set space 1
set serveroutput on size 1000000
set echo off
set termout off
column d_bname new_value d_bname
select user ||'@'||instance_name d_bname
from v$instance ;
set sqlprompt '&d_bname.> '
set termout on
set pause on
/* **** end **** */
Brian.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Brian_McQuillan_at_gelco.com
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 Tue Mar 26 2002 - 08:23:26 CST