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: host_name from v$instance mystery

Re: host_name from v$instance mystery

From: Martin Haltmayer <Martin.Haltmayer_at_0800-einwahl.de>
Date: 2000/04/14
Message-ID: <38F770A2.DD468992@0800-einwahl.de>#1/1

Did you specify domain_name = dev.mycompany.com or similar in init.ora in the instance's machine where you have the full qualification?

Martin

kal121_at_my-deja.com wrote:
>
> Where does Oracle get the host_name in the v$instance table?
>
> The reason I ask is, on one machine, the host_name is simply the
> machine name, for example: DARTHVADER
>
> On another machine, the host_name is the fully qualified domain name,
> for example: LEIA.DEV.MYCOMPANY.COM
>
> Why is this? I like to display the host_name in my prompt, but having
> the full name display is too long! How can I fix it so that it only
> shows LEIA, not LEIA.DEV.MYCOMPANY.COM?
>
> Thanks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
  Received on Fri Apr 14 2000 - 00:00:00 CDT

Original text of this message

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