contradicting server name

  • My SQL servers name is (lets say) ServerXYZ. It used to be ServerABC, and I don't know what steps were taken in SQL when the name changed. Everything seems okay, and therefore I have only noticed this after some time, but if I run select @@servername it returns the old name ServerABC and it also reports this name in the SQL logs when starting up. Other references like in EM use the correct name.

    Could this cause any problems and how could I rectify this?

    Thanks!

  • From QA try

    sp_dropserver old_server_name

    GO

    sp_addserver new_server_name, local

    GO

    This will update sysservers table, see BOL.

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

    Edited by - antares686 on 03/22/2002 08:33:45 AM

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply