Hi All
Is there anyway to get the actual host name in T-SQL (or another way) on a cluster?
SERVERPROPERTY('MachineName') or ('ServerName') get the virtual instance name not the node name.
I got nodes N1,N2,N3,N4 and instances SQL1,SQL2 I want to run a query which tells me that SQL2 is running on N2 or SQL1 is running on N4 for example.
Thanks
Ant