Re: ORA_SID in Sql*Plus?
From: John Strange <jstrange_at_imtn.dsccc.com>
Date: 1996/10/24
Message-ID: <54nn7c$5mj_at_camelot.dsccc.com>#1/1
Date: 1996/10/24
Message-ID: <54nn7c$5mj_at_camelot.dsccc.com>#1/1
rem /********************************************************************* rem * rem * login.sql - sqlplus start up file rem * rem * When sqlplus starts up, it runs login.sql; if it finds it in rem * the SQLPATH environment variable. rem * rem * next four statements sets the sql prompt = oracle instance.rem *
rem *********************************************************************/
column sid new_value osid noprint
select lower (substr (global_name, 1, (instr (global_name, '.') -1))) sid
from global_name ;
set sqlprompt '&osid> '
Frenchy461 (frenchy461_at_aol.com) wrote: : select * from v$database;
-- This posting represents the personal opinions of the author. It is not the official opinion or policy of the author's employer. Warranty expired when you opened this article and I will not be responsible for its contents or use.Received on Thu Oct 24 1996 - 00:00:00 CEST