Skip to content

Commit 6952e9a

Browse files
Merge pull request #34662 from MicrosoftDocs/main
Auto Publish – main to live - 2025-07-09 22:30 UTC
2 parents 44c293b + 5ec794b commit 6952e9a

11 files changed

+222
-195
lines changed

.openpublishing.publish.config.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,6 @@
134134
"branch": "master",
135135
"branch_mapping": {}
136136
},
137-
{
138-
"path_to_root": "azure-docs-pr",
139-
"url": "https://github.com/MicrosoftDocs/azure-docs-pr",
140-
"branch": "main",
141-
"branch_mapping": {}
142-
},
143137
{
144138
"path_to_root": "azure-compute-docs-pr",
145139
"url": "https://github.com/MicrosoftDocs/azure-compute-docs-pr",
@@ -199,4 +193,4 @@
199193
".openpublishing.redirection.stretch-database.json",
200194
".openpublishing.redirection.visual-studio-code-extensions.json"
201195
]
202-
}
196+
}

azure-sql/database/auditing-analyze-audit-logs.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ titleSuffix: Azure SQL Database & Azure Synapse Analytics
44
description: Use Auditing to analyze logs in Log Analytics, Event Hubs, or through an Azure storage account.
55
author: sravanisaluru
66
ms.author: srsaluru
7-
ms.reviewer: mathoma
8-
ms.date: 06/10/2025
7+
ms.reviewer: mathoma, vanto
8+
ms.date: 07/09/2025
99
ms.service: azure-sql-database
1010
ms.subservice: security
1111
ms.topic: how-to
1212
---
1313
# Use Auditing to analyze audit logs and reports
1414

15-
[!INCLUDE[appliesto-sqldb-asa](../includes/appliesto-sqldb-asa.md)]
15+
[!INCLUDE [appliesto-sqldb-asa](../includes/appliesto-sqldb-asa.md)]
1616

1717
This article provides an overview of analyzing audit logs using Auditing for [Azure SQL Database](sql-database-paas-overview.md) and [Azure Synapse Analytics](/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-overview-what-is). You can use Auditing to analyze audit logs stored in:
1818

@@ -29,7 +29,6 @@ If you chose to write audit logs to Log Analytics:
2929
1. At the top of the database's **Auditing** page, select **View audit logs** to display a sample of audit logs with a limited set of fields that cover activity from up to 2 hours prior to the selected **End Time** (which defaults to 'now'):
3030

3131
:::image type="content" source="media/auditing-analyze-audit-logs/view-audit-logs.png" alt-text="Screenshot of the Auditing menu in the Azure portal where you can select the View audit logs option." lightbox="media/auditing-analyze-audit-logs/view-audit-logs.png":::
32-
3332

3433
You have two ways to view the logs:
3534

@@ -70,7 +69,7 @@ If you chose to write audit logs to an Azure storage account, there are several
7069

7170
1. The merged file opens in SSMS, where you can view and analyze it, as well as export it to an XEL or CSV file, or to a table.
7271

73-
- Use Power BI. You can view and analyze audit log data in Power BI. For more information and to access a downloadable template, see [Blog: Analyze audit log data in Power BI](https://techcommunity.microsoft.com/blog/azuredbsupport/sql-azure-blob-auditing-basic-power-bi-dashboard/368895).
72+
- Use Power BI. You can view and analyze audit log data in Power BI. For more information, see [Using Azure Log Analytics in Power BI](/power-bi/transform-model/log-analytics/desktop-log-analytics-overview).
7473
- Download log files from your Azure Storage blob container via the portal or by using a tool such as [Azure Storage Explorer](https://azure.microsoft.com/products/storage/storage-explorer).
7574
- After you have downloaded a log file locally, double-click the file to open, view, and analyze the logs in SSMS.
7675
- You can also download multiple files simultaneously in Azure Storage Explorer. To do so, right-click a specific subfolder and select **Save as** to save in a local folder.

azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following table lists the features of Azure SQL Managed Instance that are cu
3636
3737
| Feature | Details |
3838
| ---| --- |
39-
| [Approximate or fuzzy string matching](/sql/relational-databases/fuzzy-string-match/overview)| Check if two strings are similar, and calculate the difference between two strings. Use this capability to identify strings that might be different because of character corruption.|
39+
|[Approximate or fuzzy string matching](/sql/relational-databases/fuzzy-string-match/overview)| Check if two strings are similar, and calculate the difference between two strings. Use this capability to identify strings that might be different because of character corruption.|
4040
|[Database watcher for Azure SQL](../database-watcher-overview.md) | Database watcher is a managed monitoring solution for database services in the Azure SQL family. Database watcher collects in-depth workload monitoring data to give you a detailed view of database performance, configuration, and health. Learn more about [database watcher](https://aka.ms/dbwatcher-preview-announcement).|
4141
|[DATEADD number allows bigint](/sql/t-sql/functions/dateadd-transact-sql) | For `DATEADD (datepart , number , date )`, number can be expressed as a **bigint**.|
4242
|[Endpoint policies](./service-endpoint-policies-configure.md) | Configure which Azure Storage accounts can be accessed from a SQL Managed Instance subnet. Grants an extra layer of protection against inadvertent or malicious data exfiltration.|
@@ -58,7 +58,7 @@ The following table lists features of Azure SQL Managed Instance that have been
5858

5959
| Feature | GA Month | Details |
6060
| ---| --- |--- |
61-
| [Degrees of Parallelism (DOP) Feedback](/sql/relational-databases/performance/intelligent-query-processing-degree-parallelism-feedback?view=azuresqldb-current&preserve-view=true) | DOP Feedback is now generally available for Azure SQL Database. For more information, see [Smarter Parallelism: Degree of parallelism feedback in SQL Server 2025](https://techcommunity.microsoft.com/blog/sqlserver/smarter-parallelism-degree-of-parallelism-feedback-in-sql-server-2025/4431318). |
61+
| [Degrees of parallelism (DOP) feedback](/sql/relational-databases/performance/intelligent-query-processing-degree-parallelism-feedback?view=azuresqldb-mi-current&preserve-view=true) | July 2025| DOP feedback improves query performance by identifying parallelism inefficiencies for repeating queries, based on elapsed time and waits. For more information, see the [Smarter Parallelism: Degree of parallelism feedback in SQL Server 2025](https://techcommunity.microsoft.com/blog/sqlserver/smarter-parallelism-degree-of-parallelism-feedback-in-sql-server-2025/4431318) blog. |
6262
|[Zone redundancy for General Purpose](high-availability-sla-local-zone-redundancy.md#zone-redundant-availability) | June 2025| Deploy your General Purpose SQL Managed Instance to multiple availability zones to improve the availability of your instance in the event of a disaster. |
6363
|[Invoke an HTTPS REST endpoint SP](/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql) | June 2025 | Use the `sp_invoke_external_rest_endpoint` stored procedure to invoke an HTTPS REST endpoint provided as an input argument to the procedure. |
6464
| [TLS 1.3 support for replication](replication-transactional-overview.md#tls-13-support) | May 2025 | Configure Azure SQL Managed Instance replication agents to use TLS 1.3. |
@@ -73,8 +73,7 @@ The following table lists features of Azure SQL Managed Instance that have been
7373
|[Link from SQL MI to SQL Server](managed-instance-link-feature-overview.md) | October 2024 | Configure a link *from* Azure SQL Managed Instance to SQL Server 2022. |
7474
|[Two-way DR with SQL Server 2022](managed-instance-link-disaster-recovery.md) | October 2024 | In the event of a disaster, you can fail your SQL Server 2022 workloads to Azure SQL Managed Instance using the link, and then, once the disaster is mitigated, you can fail back to SQL Server. |
7575
|[CURRENT_DATE Transact-SQL](/sql/t-sql/functions/current-date-transact-sql) | August 2024 | A Transact-SQL (T-SQL) function that returns the current database system date as a date value, without the database time and time zone offset. |
76-
|[Maintenance window advance notifications](advance-notifications.md)| June 2024 | Advance notifications for SQL managed instance [maintenance window](maintenance-window.md) are now generally available. |
77-
|[Update policy](update-policy.md) | May 2024 | Use the update policy to control your internal database format alignment and access to the latest SQL Database Engine features. You can choose to either limit the feature set to features that are available in SQL Server 2022, or ensure your instance takes advantage of all the latest features of Azure SQL Managed Instance.|
76+
7877

7978
## Documentation changes
8079

@@ -84,7 +83,7 @@ Learn about significant changes to the Azure SQL Managed Instance documentation.
8483

8584
| Changes | Details |
8685
| --- | --- |
87-
| [Degrees of Parallelism (DOP) Feedback](/sql/relational-databases/performance/intelligent-query-processing-degree-parallelism-feedback?view=azuresqldb-current&preserve-view=true) | DOP Feedback is now generally available for Azure SQL Managed Instance in the Always-up-to-date update policy. For more information, see [Smarter Parallelism: Degree of parallelism feedback in SQL Server 2025](https://techcommunity.microsoft.com/blog/sqlserver/smarter-parallelism-degree-of-parallelism-feedback-in-sql-server-2025/4431318). |
86+
| **Degrees of parallelism (DOP) feedback GA** | DOP feedback improves query performance by identifying parallelism inefficiencies for repeating queries, based on elapsed time and waits. DOP feedback is now generally available for Azure SQL Managed Instance with the [Always-up-to-date update policy](update-policy.md#always-up-to-date-update-policy). To learn more, see [Degrees of parallelism (DOP) feedback](/sql/relational-databases/performance/intelligent-query-processing-degree-parallelism-feedback?view=azuresqldbmi-current&preserve-view=true). For additional information, see the [Smarter Parallelism: Degree of parallelism feedback in SQL Server 2025](https://techcommunity.microsoft.com/blog/sqlserver/smarter-parallelism-degree-of-parallelism-feedback-in-sql-server-2025/4431318) blog. |
8887

8988
### June 2025
9089

azure-sql/managed-instance/update-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The following table lists all the features that are only available to instances
5757

5858
|*Always-up-to-date* update policy |*SQL Server 2022* update policy |
5959
|---------|---------|
60-
|- [JSON data type](/sql/t-sql/data-types/json-data-type) <br /> - [Invoke an HTTPS REST endpoint SP](/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql) <br /> - [Azure SQL Managed Instance Mirroring in Fabric](/fabric/database/mirrored-database/azure-sql-managed-instance) <br /> - [Vector functions](/sql/t-sql/functions/vector-functions-transact-sql?view=azuresqlmi-current&preserve-view=true) <br /> - [Vector data type](/sql/t-sql/data-types/vector-data-type?view=azuresqlmi-current&preserve-view=true) <br /> - [Fuzzy string matching?](/sql/relational-databases/fuzzy-string-match/overview) <br /> - [DATEADD (Transact-SQL)](/sql/t-sql/functions/dateadd-transact-sql). <br /> - [UNISTR (Transact-SQL)](/sql/t-sql/functions/unistr-transact-sql) <br /> - [Regular expression functions](/sql/relational-databases/regular-expressions/overview) <br /> - [\|\| (String concatenation)](/sql/t-sql/language-elements/string-concatenation-pipes-transact-sql) <br /> - [\|\|= (Compound assignment)](/sql/t-sql/language-elements/compound-assignment-pipes-transact-sql) | - [Restore database to SQL Server 2022](restore-database-to-sql-server.md) <br /> - [Link with bidirectional failover and disaster recovery](managed-instance-link-disaster-recovery.md) |
60+
|- [JSON data type](/sql/t-sql/data-types/json-data-type) <br /> - [Invoke an HTTPS REST endpoint SP](/sql/relational-databases/system-stored-procedures/sp-invoke-external-rest-endpoint-transact-sql) <br /> - [Azure SQL Managed Instance Mirroring in Fabric](/fabric/database/mirrored-database/azure-sql-managed-instance) <br /> - [Vector functions](/sql/t-sql/functions/vector-functions-transact-sql?view=azuresqlmi-current&preserve-view=true) <br /> - [Vector data type](/sql/t-sql/data-types/vector-data-type?view=azuresqlmi-current&preserve-view=true) <br /> - [Fuzzy string matching?](/sql/relational-databases/fuzzy-string-match/overview) <br /> - [DATEADD (Transact-SQL)](/sql/t-sql/functions/dateadd-transact-sql). <br /> - [UNISTR (Transact-SQL)](/sql/t-sql/functions/unistr-transact-sql) <br /> - [Regular expression functions](/sql/relational-databases/regular-expressions/overview) <br /> - [\|\| (String concatenation)](/sql/t-sql/language-elements/string-concatenation-pipes-transact-sql) <br /> - [\|\|= (Compound assignment)](/sql/t-sql/language-elements/compound-assignment-pipes-transact-sql) <br /> - [Degree of parallelism (DOP) feedback](/sql/relational-databases/performance/intelligent-query-processing-degree-parallelism-feedback?view=azuresqlmi-current&preserve-view=true) | - [Restore database to SQL Server 2022](restore-database-to-sql-server.md) <br /> - [Link with bidirectional failover and disaster recovery](managed-instance-link-disaster-recovery.md) |
6161

6262
The following features are impacted by the configured update policy:
6363

docs/connect/python/mssql-python/python-sql-driver-mssql-python-quickstart.md

Lines changed: 45 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This quickstart describes installing Python, and mssql-python then
44
author: dlevy-msft-sql
55
ms.author: dlevy
66
ms.reviewer: vanto, randolphwest
7-
ms.date: 06/26/2025
7+
ms.date: 07/09/2025
88
ms.service: sql
99
ms.subservice: connectivity
1010
ms.topic: quickstart-sdk
@@ -14,7 +14,7 @@ ms.custom:
1414

1515
# Quickstart: Connect with the mssql-python driver for Python
1616

17-
In this quickstart, you connect a Python script to a database that you have created and loaded with sample data. You use the `mssql-python` driver for Python to connect to your database and perform basic operations, like reading and writing data.
17+
In this quickstart, you connect a Python script to a database that you created and loaded with sample data. You use the `mssql-python` driver for Python to connect to your database and perform basic operations, like reading and writing data.
1818

1919
[mssql-python documentation](https://github.com/microsoft/mssql-python/wiki) | [mssql-python source code](https://github.com/microsoft/mssql-python/wiki) | [Package (PyPi)](https://pypi.org/project/mssql-python/)
2020

@@ -37,7 +37,7 @@ In this quickstart, you connect a Python script to a database that you have crea
3737
Follow these steps to configure your development environment to develop an application using the `mssql-python` Python driver.
3838

3939
> [!NOTE]
40-
> This driver uses the [TDS](/openspecs/windows_protocols/ms-tds/b46a581a-39de-4745-b076-ec4dbb7d13ec) protocol, which is enabled by default in SQL Server, SQL database in Fabric and Azure SQL Database. No extra configuration is required.
40+
> This driver uses the [Tabular Data Stream (TDS)](/openspecs/windows_protocols/ms-tds/b46a581a-39de-4745-b076-ec4dbb7d13ec) protocol, which is enabled by default in SQL Server, SQL database in Fabric and Azure SQL Database. No extra configuration is required.
4141
4242
### Install the mssql-python package
4343

@@ -47,19 +47,46 @@ Get the [`mssql-python` package](https://pypi.org/project/mssql-python/) from Py
4747

4848
1. Install the `mssql-python` package.
4949

50-
```bash
51-
pip install mssql-python
52-
```
50+
### [Windows](#tab/windows)
51+
52+
```bash
53+
pip install mssql-python
54+
```
55+
56+
### [Linux](#tab/linux)
57+
58+
```bash
59+
pip install mssql-python
60+
```
61+
62+
### [macOS](#tab/mac)
63+
64+
```bash
65+
brew install openssl
66+
pip install mssql-python
67+
```
68+
69+
---
70+
71+
### Install python-dotenv package
72+
73+
Get the [`python-dotenv`](https://pypi.org/project/python-dotenv/) from PyPI.
74+
75+
1. In the same directory, install the `python-dotenv` package.
76+
77+
```bash
78+
pip install python-dotenv
79+
```
5380

5481
### Check installed packages
5582

5683
You can use the PyPI command-line tool to verify that your intended packages are installed.
5784

5885
1. Check the list of installed packages with `pip list`.
5986

60-
```bash
61-
pip list
62-
```
87+
```bash
88+
pip list
89+
```
6390

6491
### Create a SQL database
6592

@@ -121,7 +148,7 @@ This quickstart requires the *[!INCLUDE [sssampledbnormal-md](../../../includes/
121148
```
122149

123150
> [!TIP]
124-
> The connection string used here largely depends on the type of SQL database you're connecting to. For more information on connection strings and their syntax, see [connection string syntax reference](../../ado-net/connection-string-syntax.md).
151+
> The connection string used here largely depends on the type of SQL database you're connecting to. If you're connecting to an *Azure SQL Database* or a *SQL database in Fabric*, use the *ODBC* connection string from the connection strings tab. You might need to adjust the authentication type depending on your scenario. For more information on connection strings and their syntax, see [connection string syntax reference](../../odbc/dsn-connection-string-attribute.md).
125152
126153
### Execute a query
127154

@@ -161,7 +188,7 @@ Use a SQL query string to execute a query and parse the results.
161188
```python
162189
records = cursor.fetchall()
163190
for r in records:
164-
print(f"{r.CustomerID}\t{r.OrderCount}\t{r.CompanyName}")
191+
print(f"{r.CustomerID}\t{r.OrderCount}\t{r.CompanyName}")
165192
```
166193

167194
1. **Save** the `app.py` file.
@@ -220,13 +247,13 @@ Execute an [INSERT](../../../t-sql/statements/insert-transact-sql.md) statement
220247

221248
```python
222249
cursor.execute(
223-
SQL_STATEMENT,
224-
(
225-
f'Example Product {productNumber}',
226-
f'EXAMPLE-{productNumber}',
227-
100,
228-
200
229-
)
250+
SQL_STATEMENT,
251+
(
252+
f'Example Product {productNumber}',
253+
f'EXAMPLE-{productNumber}',
254+
100,
255+
200
256+
)
230257
)
231258
```
232259

0 commit comments

Comments
 (0)