Changing The Name of the Server.
-----Changing the Name of the Server.But it wont Drop the Server.
SP_DROPSERVER 'BHI-207\SQLEXPRESS'--Present serverName
GO
SP_ADDSERVER 'RAMESH MAMILLAPALLI',LOCAL--After running the Query Stop and Restart the Services.
GO
SELECT @@SERVERNAME
SP_DROPSERVER 'BHI-207\SQLEXPRESS'--Present serverName
GO
SP_ADDSERVER 'RAMESH MAMILLAPALLI',LOCAL--After running the Query Stop and Restart the Services.
GO
SELECT @@SERVERNAME
Comments