Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: default ORACLE_SID

Re: default ORACLE_SID

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 2000/05/02
Message-ID: <957303336.25778.0.pluto.d4ee154e@news.demon.nl>#1/1

anjali <ANJIE_at_prodigy.net> schreef in berichtnieuws 8end8l$meg$1_at_newssvr03-int.news.prodigy.com...
>
> Hi!
>
> i'm learing Oracle and i have a question. How do I make a database and an
> instance a default one.
> everytime i log onto UNIX, it starts an instance but i want my instance to
> be the default one.
> i changed the ORACLE_SID but it stays only for that particular session.
 next
> time i start another session (telnet into unix), it starts the original
> instance.
>
> can someone please help me?!
>
> thanks a bunch!
> anjali.
>
>

In korn shell in .profile
export ORACLE_SID=<yoursid>
export ORAENV_ASK=NO
. oraenv
export ORAENV_ASK=""

Hth,

Sybrand Bakker, Oracle DBA Received on Tue May 02 2000 - 00:00:00 CDT

Original text of this message

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