Microsoft Azure SQL Database connection

To access your data in Microsoft Azure SQL Database, create a connection asset for it.

Microsoft Azure SQL Database is a managed cloud database provided as part of Microsoft Azure.

Create a connection to Microsoft Azure SQL Database

To create the connection asset, you need these connection details:

For Credentials and Certificates, you can use secrets if a vault is configured for the platform and the service supports vaults. For information, see Using secrets from vaults in connections.

Connect to a Microsoft Azure SQL Database that is behind a firewall

To connect to a Microsoft Azure SQL Database that is behind a firewall, you must add the IP addresses of the cluster worker nodes to the firewall.

  1. Find the IP addresses of the cluster worker nodes. Log in to Cloud Pak for Data and run this command:
    oc get nodes -o wide
  2. Note the IP addresses in the ROLE column that are identified as worker.
  3. Use Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for the IP addresses of the cluster worker nodes.

For more information, see Azure SQL Database and Azure Synapse IP firewall rules.

Choose the method for creating a connection based on where you are in the platform

In a project Click Add to project > Connection. See Adding a connection to a project.


In a catalog Click Add to catalog > Connection. See Adding a connection asset to a catalog.


In a deployment space Click Add to space > Connection. See Adding connections to a deployment space.


In the Platform assets catalog Click New connection. See Adding platform connections.

Next step: Add data assets from the connection

Where you can use this connection

You can use Microsoft Azure SQL Database connections in the following workspaces and tools:

Analytics projects

Catalogs

Running SQL statements

To ensure that your SQL statements run correctly, refer to the Azure SQL Database documentation for the correct syntax.

Microsoft Azure SQL Database setup

Getting started with single databases in Azure SQL Database

Learn more

Azure SQL Database documentation

Parent topic: Supported connections