开发者

How to resolve Oracle service name to ip address it resides

开发者 https://www.devze.com 2023-03-07 02:14 出处:网络
I have OracleConnectionString with connect开发者_运维百科ion info.All I see now is to start tnsping as a hidden process and parse its output.Is there a simpler (.NET) way?select sys_context(\'USERENV\

I have OracleConnectionString with connect开发者_运维百科ion info. All I see now is to start tnsping as a hidden process and parse its output. Is there a simpler (.NET) way?


select sys_context('USERENV','ip_address') from dual;

I am not sure of this! Please, try!

0

精彩评论

暂无评论...
验证码 换一张
取 消