ORA-942 When I Select dbname.owner.table Via DG4ODBC

(Doc ID 1383120.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms


When using HSODBC, it was possible to execute this SELECT:
SELECT COUNT(*) FROM "Pubs.dbo.MyTable"@DBLINK;

Now with DG4ODBC , I get this error:

ORA-00942:table or view does not exist.
 [Microsoft][ODBC SQL Server Driver][SQL Server] object name 'Pubs.dbo.MyTable' is invalid.
 Can't prepare [Microsoft][ODBC SQL Server Driver][SQL Server] statement.
 ORA-02063: please refer to error which preceding 2 lines (DBLINK).

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