I have a newly-built SQL 2019 instance and when I run @@SERVERNAME, the response I get is:
hostname is in lowercase
INSTANCENAME is in uppercase
Any ideas why this might be happening? If the instance name was lowercase, I'd put it down to me typing it that way during installation.
The Windows %COMPUTERNAME% variable returns the value in UPPERCASE.