We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [exec]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
4answers
13k views

Get @@SERVERNAME from linked server

This seems like a basic question but I can't find any answers out there - I need to be able to get the server name/instance etc. from a linked server. I've tried a couple of things: select <linked ...