"'OraOLEDB.Oracle' returned an invalid schema definition" When Querying Table in Sql Server Query Analyzer (Doc ID 300305.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Provider for OLE DB - Version: 9.2.0.4 to 10.1.0.3 - Release: 9.2 to 10.1
Generic Windows

Symptoms

Trying to query a table in Sql Server Query Analyzer with an index on it results in the following error:

Server: Msg 7317, Level 16, State 1, Line 1

OLE DB Provider 'OraOLEDB.Oracle' returned an invalid schema definition.

The index that was used in this issue was created using the following sql:
CREATE UNIQUE INDEX table_indx
    ON table(A_COLUMN DESC)

Cause

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