SQL Server Linked Server Returns Different Records than Another Application Executing the Same SQL Statement

(Doc ID 1319068.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Provider for OLE DB - Version: and later   [Release: 9.2 and later ]
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
SQL Server Linked Server


Executing the same query based on a VIEW returns different record counts based on the application used.

SELECT count(*) FROM MyView

  • SQL*Plus (or TOAD) returns 1,329 rows
  • SQL Server Linked Server (using the Oracle Provider for OLE DB) returns 1,789 rows


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms