• p.swathi4 (2/3/2014)


    I had setup linked server and when i query the it gives me below error.

    QUERY:

    SELECT top * from [Servername].[WH_SYSTEM].[dbo].T_ENCOUNTER_PHYSICIAN

    WHERE PhysicianID LIKE '[0-9]%'

    Output:

    Msg 7357,Level 16, State 2, Line 1

    Cannot process the object ""WH_SYSTEM."dbo"."T_ENCOUNTER_PHYSICIAN"".

    The ole db provider "sqlncli10" for linked server '' servername" indicates that either the object has no columns or the current user does not have permissions on that object.

    Linked server error messages rarely tell you anything useful. There's an error in your query.

    Try SELECT TOP(10) *


    [font="Arial"]Low-hanging fruit picker and defender of the moggies[/font]

    For better assistance in answering your questions, please read this[/url].


    Understanding and using APPLY, (I)[/url] and (II)[/url] Paul White[/url]

    Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]