Server Name Related Problem

  • Hi

    I given Following command

    select @@servername

    Here Displaying corect server name. whenever i login sqlserver there displaying different server name. i want delete that server name .please help me where its storing.

    Because of this log shipping not working properly.

  • if you renamed your server at the operating system level, the SQL server might still be remembering the old name;

    this is how you fix it:

    sp_dropserver 'old server name'

    sp_addserver 'new server name', 'local'

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

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

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