![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Someone renamed a server from 2A to A. When I do @@servername I get 2A. The server/machine name is 2. Should my triggers say 2A or 2? Does it matter? |
#3
| |||
| |||
|
|
*(jantan... (AT) gmail (DOT) com) writes: Someone renamed a server from 2A to A. When I do @@servername I get 2A. The server/machine name is 2. Should my triggers say 2A or 2? *Does it matter? EXEC sp_dropserver '2A' EXEC sp_addserver 'A', 'local' Restart SQL Server. After this, @@servername should return the correct value. -- Erland Sommarskog, SQL Server MVP, esq... (AT) sommarskog (DOT) se Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books... Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx |
#4
| |||
| |||
|
|
Thanks... Do you think have the old name will have caused performance problems? |
![]() |
| Thread Tools | |
| Display Modes | |
| |