sql server linked server to oracle returns no data found when data exists

后端 未结 5 1953
甜味超标
甜味超标 2020-12-20 15:53

I have a linked server setup in SQL Server to hit an Oracle database. I have a query in SQL Server that joins on the Oracle table using dot notation. I am getting a “No Da

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-20 16:43

    In my case I had a complex view made from a linked table, 3 views based on the linked table and a local table. I was using Inner Joins throughout and this problem manifested. Changing the joins to Left and Right Outer Joins (as appropriate) resolved the issue.

提交回复
热议问题