> > 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (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).
