Monday, April 16, 2012

Find if SQL Server is clustered and which is the active node


SELECT
      SERVERPROPERTY('IsClustered') as _1_Means_Clustered ,
      SERVERPROPERTY('Edition') as Edition ,
      SERVERPROPERTY('ProductVersion') as Version  ,    
      SERVERPROPERTY('ComputerNamePhysicalNetBIOS') as ActiveNode

No comments:

Post a Comment