Query Your Data
You can connect to InterSystems IRIS Cloud Managed Service using JDBC or ODBC and query the data with standard SQL queries. But before you can do so, you need to create a firewall rule in InterSystems IRIS Cloud Managed Service to enable a connection from the JDBC or ODBC client.
To create a firewall rule:
-
On the main menu for your deployment, click Firewall.
-
On the Firewall page, in the External Rules section, slide the Enable External Connections slider to the right.
You are redirected to the list of deployments while the InterSystems IRIS Cloud Managed Service deployment is updated. This may take a few minutes.
-
When the status for your deployment changes from UPDATING back to COMPLETE, click the card and navigate back to the Firewall page.
-
On the Firewall page, in the External Rules section, click Create Rule.
-
In the Add Firewall Rule dialog box:
-
In the Port Range box, type 1972.
-
In the CIDR Block box, type <your external IP address>/32.
-
Click Add.
-
To connect your favorite JDBC or ODBC client:
-
On the main menu for your deployment, click Overview.
-
In the Overview page, in the xDBC Details section, click the tab that corresponds to the type of client you are using (JDBC or ODBC).
-
Follow the instructions provided to connect your client.
-
Once you have connected your client, try running a simple SQL query, such as SELECT * FROM MyPackage.Patient.