docs.intersystems.com
Home  /  Application Development: Additional Options  /  InterSystems Programming Tools Index  /  Tools Index  /  SQL Gateway Connections


InterSystems Programming Tools Index
SQL Gateway Connections
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


Manage and access SQL Gateway connections programmatically (check connections, query by name, and so on).
Background Information
The SQL Gateway allows InterSystems IRIS to access external databases via both JDBC and ODBC. For a detailed description of the SQL Gateway, see the chapter Using the InterSystems SQL Gateway in Using InterSystems SQL.
An SQL Gateway connection contains information about accessing a specific external database via JDBC or via ODBC. You generally define these connections in the Management Portal.
Available Tools
%SYSTEM.SQLGateway class
Provides an interface for managing SQL Gateway connections. This class provides methods like the following:
Availability: All namespaces.
%SQLConnection class
Stores SQL Gateway connections. This class provides the following methods:
It also provides the following class queries:
Availability: All namespaces.
Reminder
The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().
See Also