Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 3.42 KB

File metadata and controls

44 lines (35 loc) · 3.42 KB
title Automation in Azure SQL overview
titleSuffix Azure SQL Database & Azure SQL Managed Instance & Azure Synapse Analytics
description Features for job automation to run Transact-SQL (T-SQL) scripts include elastic jobs on Azure SQL Database and SQL Agent jobs on Azure SQL Managed instance.
author WilliamDAssafMSFT
ms.author wiassaf
ms.reviewer srinia, mathoma
ms.date 10/30/2025
ms.service azure-sql
ms.topic concept-article
ms.custom
sqldbrb=1
ignite-2025
dev_langs
TSQL
monikerRange =azuresql || =azuresql-db || =azuresql-mi

Automate management tasks in Azure SQL

[!INCLUDE appliesto-sqldb-sqlmi-asa-ss]

This article summarizes job automation options.

Consider the following job scheduling and task automation technologies on different platforms:

Differences between SQL Agent and elastic jobs

The following table summarizes key differences between elastic jobs and SQL Agent:

Elastic jobs SQL Agent
Platform Azure SQL Database SQL Server, Azure SQL Managed Instance
Scope Any number of databases in Azure SQL Database only. Targets can be in different logical servers, subscriptions, and/or regions (dynamically enumerated at job runtime). Any individual database in the same instance as the SQL Agent.

The Multi Server Administration (MSX/TSX) feature of SQL Agent allows for master/target instances to coordinate job execution, though this feature is not available in SQL Managed Instance.
Supported APIs and tools T-SQL, PowerShell, REST APIs, Azure portal, Azure Resource Manager T-SQL, PowerShell, SQL Server Management Studio (SSMS)

Next step

[!div class="nextstepaction"] Elastic jobs in Azure SQL Database