I'm running SQL2000 and when I check for 'select @@servername' it returns null. I've tried using sp_addserver 'servername, 'local' and restarting SQL Server but had no luck. When I query the sysservers table there is one record and it has the correct srvname. The only thing I can see amiss in the table is that the srvid is 1 rather than 0.
Any suggestions or am I looking at a re-install of SQL Server?