My Oracle Support Banner

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

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
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.