如何获取Oracle主机名列表并将其存储到列表框中 [英] How To Get The List Of Oracle Host Names And Stored Into The List Box

查看:75
本文介绍了如何获取Oracle主机名列表并将其存储到列表框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想获取Oracle主机名列表,无论它是本地网络还是局域网.例如,对于连接字符串,我将协议设置为TCP,将端口号设置为1521,这是默认端口号.我想获取oracle中的主机名列表.

如何获取列表>请帮助

Hi,

I would like to get the list of oracle host names whether it is local or lan network. For example for the connection string, I put the protocol as TCP and the port number as 1521 which is a default port number. I want to get the list of host names in oracle.

How to get the list> Please help

推荐答案

Oracle没有像SQL Server那样的动态发现方法.必须在客户端计算机上的TNSNAMES.ORA文件中定义应用程序可以使用的任何可用Oracle服务器.
Oracle doesn''t have a dynamic discovery method like SQL Server has. Any available Oracle servers that an application can user has to be defined in the TNSNAMES.ORA file on the client machine.


您可能会发现这很有趣:
LDAP和Oracle Internet目录 [ Oracle Internet目录文档 [
You might find this to be of interest:
LDAP and the Oracle Internet Directory[^]

Oracle has a dynamic discovery method, and they are providing a standards compliant LDAP server to provide it.

It''s quite well documented here:
Oracle Internet Directory Documentation[^]

Regards
Espen Harlinn


这篇关于如何获取Oracle主机名列表并将其存储到列表框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆