2

enter image description here

I have this remote query (select * from dbo.prod_Enertia_emk_monthly_gas_interface) with the linked server as LIVEDB. How does SQL know to use the bottom selected query to the remote server? I am puzzled as I have never created a remote query before. How does this call work?

jarlh
  • 42,561
  • 8
  • 45
  • 63
Brian Tran
  • 115
  • 10

2 Answers2

4

This is either a view or a synonym. Both can be found in SQL Server Management Studio under the database in question.

enter image description here

UnhandledExcepSean
  • 12,504
  • 2
  • 35
  • 51
1

enter image description here

The remote call is using a synonyms.

Brian Tran
  • 115
  • 10