query analyzer and linked server

  • Is it possible to query the table of a remote data server (MS SQL) in "query analyzer" without using a Linked Server? What are the items that I need to setup\know in order to do that?

     

    For example:

     

     

    Select

    local.*,

    Rmt.*

    From

              LocalServer.LocalDatabase.dbo.Table1 local,

              RemoteServer.RemoteDatabase.dbo.Table2 Rmt

     

     

     

    NOTE: Query analyzer current server is “Local”

     

     

     

  • You can use the OpenRowset() function to return a recordset from another server without having to setup a linked server.

    See OpenRowset() topic in BOL.

  • I spent 4 hours searching Google for this answer, you’re the man.

    Thanks PW, to your time and effort to answer my question.

  • Next time start from BOL.

    _____________
    Code for TallyGenerator

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

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