My Oracle Support Banner

How To Close a Database Gateway Connection to SQL*Server (Doc ID 1912862.1)

Last updated on MAY 11, 2022

Applies to:

Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Goal

How to close a connection using a Database gateway to connect to SQL server ?

The following SQL can be used to connect to MS SQL*Server and select data using an Oracle Database Gateway such as Database Gateway for SQL*Server (DG4MSQL) or Database Gateway for ODBC (DG4ODBC) -

 

select * from schema.table@_GTWDBLINK ;


After issuing the select or other statements then how can the connection to SQL*Server be closed ?
 

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.