Name of the server had been changed recently. After change I executed sp_dropserver and sp_addserver. If i select * from sysservers new server name comes up, but if I run @@servername old server name shows.
I think you have to restart the service to correct that problem!! Wait for a confirmation before doing so (unless the server is not in production)... I ain't 100% sure on that one.