Linked Server

  • I've setup linked server A to connect to B.  When I run the following select from QA,

    select * from .db.dbo.table

    The return I get is from [A] instead of

    any ideas would be greatly?

     

  • How do you know it's coming back from [A]? Are you seeing any activity occuring on ?

    K. Brian Kelley
    @kbriankelley

  • The row count I'm receiving is identical to A. 

     

    What's the best way to verify if there is activity on B? 

    Thanks

     

  • I've had queries fail because I haven't set up the link or permissions correctly but never got results from the wrong server when using four part naming.

    I assume that these are permanent real tables (not #, ## or views) with 'sensible' names - no unusual characters.

    I suggest that you create a test table in B with unique data and check that you can read that across the link.

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

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