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: Adding an alias to SQL*Net

Re: Adding an alias to SQL*Net

From: Jonathan Trifts <Jonathan.Trifts_at_CGI.CA.NOSPAM>
Date: 1998/01/28
Message-ID: <34CF504D.766B@CGI.CA.NOSPAM>#1/1

Just take a look at the TNSNAMES.ORA file and note the structure of the entries. Then Setup a batch file to be called from within your applciation (pipe the info out to TNSNAMES).

However, any saved changes to TNSNAMES.ORA that are not done thru EASY CONFIG. will cause EASY CONFIG to not be able to recognize the file for editing later but sql net will use it normally.

Beware that the domain name must be the same as the one in SQLNET.ORA.

Steinberg wrote:
>
> Hi
>
> I'd like to add an Oracle 7.3 SQL*Net Alias, automatically, from within
> my program.
>
> Any ideas how to do that the right way ?
>
> Thanks,
> Amit
Received on Wed Jan 28 1998 - 00:00:00 CST

Original text of this message

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