Re: ORA_SID in Sql*Plus?
Date: 1996/10/24
Message-ID: <846121068.767988_at_stevo.stl.dec.com>#1/1
How about adding the value of ORACLE_SID to your system prompt? This is what I do, then you can just shell out and back to see what it is.
Or: from SQLDBA / SVRMGRL do: show parameter db_name
Or: ... . . . . . . . . 101 ways to skin a cat.......
Rick H.
Douglas Scott <dsscott_at_gte.net> wrote:
>Does anyone know if there is a way to find out what database instance
>you're in from inside of Sql*Plus? I go in and out of 2 instances all
>day long (beta & production databases) and sometimes lose track of which
>one I'm in (especially after an interruption like a meeting). I could
>get out and come back in, but if there is someway to tell which instance
>it would be easier.
>Douglas Scott
>dsscott_at_gte.net
Received on Thu Oct 24 1996 - 00:00:00 CEST