Cross Server Query Syntax

  • Is it possible to do a cross server query in SQL Analyzer? If so, can someone show me the syntax for addressing separate servers with named instances and potentially different logins. I would like to create a cross instance view. Is that possible?

    Thanks

  • Boy this seems to be the question of the day today. You can define your foreign server as a linked server and use 4-part names to select from tables/views.

    Or you can use OPENROWSET and pass all your connection info to the remote server and get your goods back.

  • quote:


    Boy this seems to be the question of the day today. You can define your foreign server as a linked server and use 4-part names to select from tables/views.

    Or you can use OPENROWSET and pass all your connection info to the remote server and get your goods back.


  • I get it! Works Great! Thanks..

  • Works Great! Thanks!

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

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