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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the connect descriptor programmatically?

Re: How to get the connect descriptor programmatically?

From: Sybrand Bakker <sybrandb_at_hccnet.nl>
Date: Tue, 13 Jul 2004 22:57:26 +0200
Message-ID: <35j8f0hhj7ldf0vgf0anklrotaldtfg77r@4ax.com>


On Tue, 13 Jul 2004 13:51:18 -0500, Turkbear <john.g_at_dot.spamfree.com> wrote:

>pelekhl_at_msn.com (lev) wrote:
>
>>Hello,
>>
>>Is it possible to programmatically determine the connect descriptor
>>for an Oracle database without having to parse the tsnnames.ora file?
>>Any info is highly appreciated. Thank you.
>>
>>Lev
>
>I expect not...Where would it look?
>
>There are other methods ( Oracle Names, LDAP etc) for obtaining the info, but , AFAIK, there is no 'unconfigured' discovery
>of Oracle instances..
>
>hth,

Actually there is: it is called the hostname method.

--
Sybrand Bakker, Senior Oracle DBA
Received on Tue Jul 13 2004 - 15:57:26 CDT

Original text of this message

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