Azure DataCenter
  • All of Microsoft
  • My Role
    • Alles zu My Role
    • Azure DataCenter
  • Focus
    • Alles zu Focus
    • Microsoft Ignite 2026
    • Azure Weekly Update
    • Azure Master Class
    • What's Hot
    • M365 Release
Zeitspanne
explore our new search
Azure SQL Hyperscale: query across databases
Databases

Azure SQL Hyperscale: query across databases

von HubSite 365 über Microsoft

Software Development Redmond, Washington

Azure SQL Hyperscale’s limited-preview feature lets applications query data across databases in the same elastic pool with one connection.

Key insights

  • Cross-database queries are in limited preview for Azure SQL Database Hyperscale elastic pools.
  • Participating databases must be in the same elastic pool and on the same logical server.
  • Queries use three-part names: database.schema.object.
  • Permissions are enforced separately in each participating database.
  • Preview writes are limited to one database; savepoints and nested transactions are unsupported.

Azure SQL Database Hyperscale cross-database queries let an application query and join data across databases in the same elastic pool through one connection. The capability matters to developers and database teams working with data separated by tenant, application, or business domain. Microsoft describes the feature as a way to use familiar T-SQL across those databases.

What's new

Instead of fetching separate result sets and joining them in application code, a query can refer directly to objects in participating databases. The naming pattern is the familiar three-part form: . For example, a query can join with using a shared product identifier.

The capability is also available in views, stored procedures, and functions. Data can remain in separate databases rather than being copied into a central database solely to support a query. The engine can combine the data in a query, while each database continues to enforce its own permissions.

Who it is for and what you need

This limited preview is aimed at teams whose applications need related data from multiple Azure SQL databases—for example, databases separated by tenant or business area. It is available for Hyperscale elastic pools, and every participating database must be in the same pool and on the same logical server.

Customers must request access to the limited preview. The preview onboarding uses Microsoft Entra identities: create a Microsoft Entra login, map users in the participating databases, and grant the required permissions in each one. Participating databases must remain online.

How it works

  1. Connect to a database in the Hyperscale elastic pool.
  2. Write a query that names each remote object with its database, schema, and object name, such as .
  3. Join the objects using the relevant key columns, and ensure the identity has permissions in every database the query accesses.

The same cross-database references can be used in views, stored procedures, and functions. This lets the database perform the join rather than requiring the application to combine separate query results.

Limitations and alternatives

This is a limited preview, not a general-availability feature. Its scope is restricted to databases in the same Hyperscale elastic pool on the same logical server. The preview supports cross-database reads, but writes are limited to one database; savepoints and nested transactions are not supported.

Before adopting it, check that the database placement, identity mapping, and permissions fit the workload. Applications that cannot meet those conditions may continue to combine results in application code or use copied data and other existing integration approaches.

Sources

Frequently asked questions

How do Azure SQL Hyperscale cross-database queries work?

Use three-part object names in T-SQL, such as database.schema.object, to query and join objects across participating databases through one connection.

What do I need for Azure SQL Hyperscale cross-database queries?

The feature is in limited preview for Hyperscale elastic pools. Participating databases must be in the same pool and on the same logical server, and preview access must be requested.

How are permissions handled across databases?

Each participating database continues to enforce its own permissions. Preview onboarding uses Microsoft Entra identities, with users mapped and permissions granted in each database.

Can cross-database queries write to multiple Azure SQL databases?

Preview writes are limited to one database. Savepoints and nested transactions are not supported.