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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Orace setting on NT

RE: Orace setting on NT

From: Bob Metelsky <bmetelsky_at_cps92.com>
Date: Mon, 07 Oct 2002 09:24:04 -0800
Message-ID: <F001.004E2715.20021007092404@fatcity.com>


>
> This is a very easy question. I'm usually working
> with Oracle on UNIX, but today I need to connect
> to a remote instance from my NT desktop. Is there an
> equivalent to TNS_ADMIN varaiable in NT? ( I'm trying
> to force Oracle to use a specific tnsnames.ora file
> on my machine adn TNS_ADMIN variable is the way to
> do it on UNIX.)
>

Afaik on NT or 2k oracle uses only one tnsnames.ora file its located in

$ORAHOME\network\admin

There is a sql.net file that dictates the precedence of files eg tns onames

Eg sql.net

# Generated by Oracle configuration tools.

SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME) Here oracle looks for the tnsnames then onames.... Then finally hostname

bob

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bob Metelsky
  INET: bmetelsky_at_cps92.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Oct 07 2002 - 12:24:04 CDT

Original text of this message

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