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

Home -> Community -> Usenet -> c.d.o.misc -> Re: TNSPING to Oracle without Entry in TNSNAMESORA

Re: TNSPING to Oracle without Entry in TNSNAMESORA

From: Frank van Bortel <fbortel_at_home.nl>
Date: Wed, 06 Feb 2002 20:24:13 +0100
Message-ID: <3C6182DD.D752FC10@home.nl>


Nicolas Bronke wrote:
>
> > Yres it is normal. The environment variable ORACLE_SID will enable this
> > connection.
> >
> Thank you.

In addition: if you want that, without switching oracle_sid settings all the time, try this in tnsnames.ora:
DES2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = BEQ)(PROGRAM = oracle)(ARGV0 = oracleDES2)

        (ARGS = '(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))     (CONNECT_DATA =
      (SID = DES2)
    )
  )
Replace _all_ DES2 with your own SID (apart from the 1st one, which doesn't
matter).

-- 
Gtrz,

Frank van Bortel
Received on Wed Feb 06 2002 - 13:24:13 CST

Original text of this message

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