---
title: Monitor Azure SQL Databases with Custom TSQL Statements in Nodinite
description: Monitor and manage your Azure SQL Databases with Nodinite. Execute custom TSQL statements for proactive monitoring, instant alerts, and seamless integration with your workflows.
---

# <i class="fal fa-database" aria-hidden="true"></i> Azure SQL Statements

Easily monitor and manage your Azure SQL Databases using custom TSQL statements with the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Database Monitoring Agent][]. This feature empowers you to proactively detect issues, automate alerts, and streamline database management in the cloud.

✅ Execute custom TSQL statements for flexible monitoring  
✅ Instantly receive alerts and automate remediation with [Remote Actions][]  
✅ Centralize monitoring for all your Azure SQL Databases  
✅ Seamlessly integrate with your existing workflows and tools  

This feature works like the SQL Server monitoring capability: a SQL Statement holds one connection and a list of monitoring statements, and each enabled monitoring statement is one [Resource][Resources] in the **Azure - SQL Statements** [Category][Categories], named after its **Display Name**. For detailed setup and advanced usage, please review the [SQL Statements][SQL Statements] user guide.  

## <i class="fal fa-traffic-light" aria-hidden="true"></i> Monitoring Statements tab

<sup><span class="nodinite-new-badge">New 7.13</span></sup>  
In the [Remote Configuration][], open the [Azure SQL Database][] configuration, then its **SQL Statements (n)** tab, and expand a SQL Statement. Its **Monitoring Statements (n)** tab lists one accordion per monitoring statement; click <i class="fal fa-square-plus" aria-hidden="true"></i> **Add** for another one.  
![Azure SQL Database configuration Contoso Azure SQL with the SQL Statement Contoso Orders DB (Azure SQL) on its Monitoring Statements (2) tab, the monitoring statements Contoso Open Orders and Contoso Failed Orders, and the Add button (7.13)][1]  
*The **Monitoring Statements** tab of an Azure SQL SQL Statement: the same list as for SQL Server.*

The fields and the save rules are the ones of [SQL Server][SQL Statements Monitoring Statements tab], with two differences:

* The **Authentication** tab has only the [Connection String][SQL Connection Strings]; there is no impersonation.
* Every monitoring statement needs an **Execute Command**, also a disabled one. On SQL Server, only the enabled monitoring statements of an enabled SQL Statement need one.

A **Display Name** used twice in one configuration, also across its SQL Statements, stops the save (*ASQL-DUPLICATE-004*).
___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-shield-halved" aria-hidden="true"></i> [Secure Custom Database Scripts and Actions][]  
<i class="fal fa-database" aria-hidden="true"></i> [Database Monitoring Agent][]  
<i class="fal fa-folder" aria-hidden="true"></i> [SQL Categories][]  
<i class="fal fa-database" aria-hidden="true"></i> [SQL Statements][]  
<i class="fal fa-lightbulb-on" aria-hidden="true"></i> [Resources][]  
<i class="fal fa-cloud-arrow-down" aria-hidden="true"></i> [Monitoring Agents][]  
<i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/Database/SQLStatements_AzureSQL_Config_MonitoringStatements.png

[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Azure SQL Database]:https://docs.nodinite.com/logging-and-monitoring/database/features/azure-sql-database/overview/
[Categories]:https://docs.nodinite.com/administration/monitor-management/categories/features/what-is-a-category/
[Database Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/database/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Remote Configuration]:https://docs.nodinite.com/logging-and-monitoring/database/getting-started/configuration/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Secure Custom Database Scripts and Actions]:https://docs.nodinite.com/logging-and-monitoring/database/troubleshooting/secure-custom-database-scripts-and-actions/
[SQL Categories]:https://docs.nodinite.com/logging-and-monitoring/database/features/overview/
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[SQL Statements]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-statements/sql-server-statements/
[SQL Statements Monitoring Statements tab]:https://docs.nodinite.com/logging-and-monitoring/database/features/sql-statements/sql-server-statements/#fa-traffic-light-monitoring-statement-tab