Alternative for @@REMSERVER

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

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

Developer technologies | Transact-SQL
Developer technologies | Transact-SQL

A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.

0 comments No comments

Answer accepted by question author
Erland Sommarskog 138.3K Reputation points MVP Volunteer Moderator
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.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 138.3K Reputation points MVP Volunteer Moderator
    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.

    Was this answer helpful?


Your answer

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