Alternative for @@REMSERVER

SQLZealots 276 Reputation points
2021-05-22T06:11:01.547+00:00

Anyone is aware of alternative for @@REMSERVER global variable?

Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,630 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 110.5K Reputation points MVP
    2021-05-22T17:18:24.167+00:00

    There are no alternatives. All you see on that page is dead functionality, and earlier this afternoon I submitted feedback on that topic that should wipe out that text and say that the function always returns NULL.


1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 110.5K Reputation points MVP
    2021-05-22T10:23:06.35+00:00

    What more precisely do you have in mind? This function relates to functionality that retains to remote servers, a functionality that has been discontinued. Since there cannot be any remote server, the function always return NULL.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.