Results 1 to 2 of 2

Thread: @@servername function question

  1. #1
    Join Date
    Aug 2004
    Posts
    188

    @@servername function question

    when I do the @@servername command to see the servername of course it returns a NULL value. Any ideas why or how to fix that to give me the default server name?

    Thanks for your time.

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Run 'sp_addserver instance_name, local' then restart sql.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •