Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Utl_inaddr
Hi,
After running the following Pl/SQl block I am getting the following error. Could some one suggest about it what’s wrong in it?
utl_inaddr.get_host_name(sys_context('USERENV','IP_ADDRESS')));
*
ERROR at line 10:
ORA-06550: line 10, column 2: PLS-00306: wrong number or types of arguments in call to 'GET_HOST_NAME' ORA-06550: line 9, column 2:
Regards
Kumar
declare
v_gname varchar2(256);
begin
select global_name into v_gname from global_name;
dbms_output.put_line('User: '||user); dbms_output.put_line('Database: '||v_gname); dbms_output.put_line('Client IP: '||