With help of below query we can quickly find the node on which sql is currently running. This is useful in clustered environments.
Select serverproperty('ComputerNamePhysicalNetBIOS')
Published under: SQL Server Tips · · · ·
It's sad that a lot of production code does not use this.