i have one standalone server for practice with following scenario.
1. server 1 named as "Win1" installed with SQL 2008 r2 with default named instance i.e "win1" and it has 5 database for testing purpose.
Due to some reason, i have changed server name from "Win1" to "WinDB1" as well as i also followed SQL server renaming instruction and renamed installed instance successfully to "WinDB1".
Now i am using new name "WinDB1" to connect to instance and the new name is also shown when i execute the query such as @@SERVICENAME and HOSTNAME but the problem is that server still showing old name as i execute the @@SERVERNAME query and it also causing to failing of log shipping process.
Please guide me to solve this issue without impacting on existing database.