My Oracle Support Banner

How To Use DBMS_HS_PASSTHROUGH To Send A Query Directly To A Non Oracle Database Using a Database Gateway (Doc ID 2003338.1)

Last updated on MAY 11, 2022

Applies to:

Oracle Database Gateway for Informix - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Gateway for SQL Server - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Gateway for DRDA - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Gateway for Teradata - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Oracle Database Gateway for Sybase - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Goal

How can we enforce that a query that joins different tables on SQL Server is executed completely on the SQL Server and only sends the result set back to Oracle. If we send the query that joins tables then the rows of the SQL Server tables are completely sent to Oracle and post-processed on Oracle for the joins to be made in Oracle. Some of the tables contain millions of records, while the result set of the complete query is not more then 20 records.
 

Solution

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
Goal
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.