Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the connect descriptor programmatically?
Sybrand Bakker <sybrandb_at_hccnet.nl> wrote:
>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.
As usual, Sybrand has spotted one I missed... Received on Tue Jul 13 2004 - 16:02:50 CDT