from BOL 😉
SERVERPROPERTY ( propertyname )
InstanceName
Name of the instance to which the user is connected.
Returns NULL if the instance name is the default instance, if the input is not valid, or error.
Base data type: nvarchar(128)
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉