1.查看oracle所在服务器的ip:
select utl_inaddr.get_host_address from dual;
2.查看登陆oracle机器的IP:
select sys_context('userenv','ip_address') from dual;
3.查看oracle数据库的SID:
select instance_name from v$instance;
2022-09-13 21:36:14
1.查看oracle所在服务器的ip:
select utl_inaddr.get_host_address from dual;
2.查看登陆oracle机器的IP:
select sys_context('userenv','ip_address') from dual;
3.查看oracle数据库的SID:
select instance_name from v$instance;