Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/06/2014, 15:03
ragde23fer
 
Fecha de Ingreso: octubre-2008
Mensajes: 268
Antigüedad: 15 años, 6 meses
Puntos: 3
Respuesta: Cual es el nombre de mi servidor Oracle

Mi estimado, al ejecutar la sentencia que me diste, obtengo el siguiente error:

ORA-29257: host 192.168.1.2 unknown
ORA-06512: at "SYS.UTL_INADDR", line 4
ORA-06512: at "SYS.UTL_INADDR", line 35
ORA-06512: at line 1
29257. 00000 - "host %s unknown"
*Cause: The specified host was unknown.
*Action: Check the spelling of the host name or the IP address. Make sure
that the host name or the IP address is valid.


Sabes a q se debe???

Cita:
Iniciado por huesos52 Ver Mensaje
Código SQL:
Ver original
  1. SELECT UTL_INADDR.get_host_name('192.168.1.2') FROM dual;

Recibe como parametro la IP y retorna el hostname del servidor.

Saludos