Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Found It
You have to search the registry:

exec master..xp_regread  'HKEY_LOCAL_Machine'
,
 'SYSTEM\CurrentContr
 olSet\Control\Comput
 erName\ComputerName\
',
'ComputerName'

"JI" <jidawgs@gmail.com> wrote in message
news:OU$OnXCVGHA.196@TK2MSFTNGP10.phx.gbl...
>I have SQL Server installed on a cluster. When I select @@servername it
> gives me the virtual server name, as does  serverProperty('Mach
ineName') or
>  serverProperty('serv
erName'). When I select
>  serverProperty('Comp
 uterNamePhysicalNetB
ios') it returns null. How can I
> get
> the physical name? Actually it is a sql 2k box so that is why the
>  computerNamePhysical
NetBios returns null.
>
> thanks,
>



Report this thread to moderator Post Follow-up to this message
Old Post
JI
03-30-06 06:23 PM


Re: Found It
Answered in your m.p.s.programming thread.

--
*mike hodgson*
http://sqlnerd.blogspot.com



JI wrote:

>You have to search the registry:
>
>exec master..xp_regread  'HKEY_LOCAL_Machine'
,
> 'SYSTEM\CurrentContr
 olSet\Control\Comput
 erName\ComputerName\
',
>'ComputerName'
>
>"JI" <jidawgs@gmail.com> wrote in message
>news:OU$OnXCVGHA.196@TK2MSFTNGP10.phx.gbl...
>
> 
>
>
>
>


Report this thread to moderator Post Follow-up to this message
Old Post
Mike Hodgson
03-31-06 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:26 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006