My Oracle Support Banner

Access Violation On a Linked Server And Crash Of MS SQL Server While Using OLEDB Driver With Default FetchSize (Doc ID 2985886.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Provider for OLE DB - Version 21.3.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Executing a openquery in linked server using Oracle OLEDB Provider from Oracle client 19c and 21c with a default fetch size 100, ends up with the error shown below and the SQL Server gets disconnected.

The openquery used is as below -

Same query works fine when fetch size=5000.

Changes

Upgraded Oracle client from 19.13 to higher version.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.