Resolving Server Name in DTS Connection

  • How does SQL resolve a DTS connection entered as (local) to the server name? Does it use @@SERVERNAME? Does SQL go to the OS? Or does it do something else?

    How does SQL resolve the opposite situation where the server name is specified in the connection instead of (local)? Would it use DNS in this case?

    Thanks for your help!

  • Partial answer for your question.

    @@Servername returns the SQL Server name, more precisely, SQL instance name.

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

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