My Oracle Support Banner

ORA-00942 table or view does not exist - DG4MSQL Setup Not Working on New Servers for Oracle and SQL*Server but Worked on Previous Servers (Doc ID 1943139.1)

Last updated on AUGUST 18, 2021

Applies to:

Oracle Database Gateway for SQL Server - Version to [Release 11.2 to 12.1]
Information in this document applies to any platform.


The Database Gateway for SQL*Server (DG4MSQL) has been setup on new servers for both the Oracle database and SQL*Server. The same versions were configured on other servers and the connection worked successfully. When trying to access SQL*Server using the Oracle database link on the new servers the following error happens -

SQL> select * from "owner"."table"@sqlserverlink;
select * from "owner"."table"@sqlserverlink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][DBMSLP] ORA-00942: table or view does not exist
ORA-02063: preceding 2 lines from SQLSERVERLINK



 Configuration on new  servers for Oracle and SQL*Server.


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

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