Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Utl_inaddr

Re: Utl_inaddr

From: AMIT <kumar_929_at_yahoo.co.uk>
Date: 12 Mar 2004 08:23:06 -0800
Message-ID: <6f94b59f.0403120823.2698e8ed@posting.google.com>


Hi,Daniel Morgan

I think the parenthesis is correct.

 dbms_output.put_line('Client Name:
'||utl_inaddr.get_host_name(sys_context('USERENV','IP_ADDRESS')));

Could you plz check it?

Thanks

Amit

<damorgan_at_x.washington.edu> wrote in message news:<1079077597.344257_at_yasure>...
> AMIT wrote:
>
> > Hi,
> >
> > After running the following Pl/SQl block I am getting the following error.
> > Could some one suggest about it what&#8217;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:
> > PL/SQL: Statement ignored
> >
> >
> >
> > Regards
> >
> > Kumar
>
> Count your parenthesis.
Received on Fri Mar 12 2004 - 10:23:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US