|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, February 28, 2008 5:12 AM
Points: 64,
Visits: 19
|
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, February 04, 2009 1:49 PM
Points: 160,
Visits: 140
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 2:39 PM
Points: 202,
Visits: 111
|
|
Guys..
Instead this will work to get the active node name on the cluster as well..!
select CONVERT(VARCHAR(10), SERVERPROPERTY('ComputerNamePhysicalNetBIOS'))
-VS "there are 10 types of people in the world...those who understand binary and those who don't..."
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Wednesday, June 12, 2013 2:56 PM
Points: 11,
Visits: 48
|
|
| Based on my testing, the xp_regread method will return the physical machine name while xp_getnetname returns the cluster name, not the physical machine name. Something to consider when determining what method to use!
|
|
|
|