Re: Returning the Server Name

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Zach Wells (no_zwells_spam_at_ain1.com)
Date: 04/28/04


Date: Wed, 28 Apr 2004 12:38:45 -0400

Understood, sometimes 1/2 the battle is know what to look for. However,
the reason I suggested it is so that you can read the remarks regarding
@@servername. There are always little quirks that can catch you off
guard if you're not careful.

Zach

Peter wrote:

> Thanks,
>
> I actually tried BOL but couldn't find the darn thing, but
> then again I did search for 'Server Name'.
>
> Thanks for both of your help.
>
> Peter
>
>
>>-----Original Message-----
>>Peter wrote:
>>
>>
>>>Hello,
>>>
>>>Is there a quick and easy way of returning the server
>>>name ?
>>>
>>>Thanks for your time
>>>Peter
>>
>>Yes: SELECT @@SERVERNAME
>>
>>
>>Be sure to check out books online, this is documented
>
> there.
>
>>Zach
>>.
>>



Relevant Pages

  • Re: Öffentlicher Ordner
    ... %SERVERNAME%, Ordner und hier den gewünschten Öfi auswählen, dann ... Peter, der Serverdoktor mit Gruß aus Enns/Österreich ...
    (microsoft.public.de.german.exchange2000.general)
  • Re: accessing internet time server
    ... Peter F wrote: ... where servername is the internet time server you want to use. ...
    (alt.os.linux.suse)
  • Re: Lost outbound access (really)
    ... I'm posting this here so everything is on one thread. ... this is the reason why you should post in the ... > have the servername or internal ip and that the port is 8080. ... >> Because I lost outbound connectivity via my IE browser ...
    (microsoft.public.windows.server.sbs)
  • Re: Apache-SSL giving me odd results
    ... The Doctor wrote: ... > ServerName dynamicsi.com ... same reason. ... Ludek ...
    (comp.unix.bsd.freebsd.misc)