You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
18
18
@@ -29,7 +29,6 @@ If you chose to write audit logs to Log Analytics:
29
29
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'):
30
30
31
31
:::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
-
33
32
34
33
You have two ways to view the logs:
35
34
@@ -70,7 +69,7 @@ If you chose to write audit logs to an Azure storage account, there are several
70
69
71
70
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.
72
71
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).
74
73
- 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).
75
74
- After you have downloaded a log file locally, double-click the file to open, view, and analyze the logs in SSMS.
76
75
- 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.
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/doc-changes-updates-release-notes-whats-new.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ The following table lists the features of Azure SQL Managed Instance that are cu
36
36
37
37
| Feature | Details |
38
38
| ---| --- |
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.|
40
40
|[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).|
41
41
|[DATEADD number allows bigint](/sql/t-sql/functions/dateadd-transact-sql)| For `DATEADD (datepart , number , date )`, number can be expressed as a **bigint**.|
42
42
|[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
58
58
59
59
| Feature | GA Month | Details |
60
60
| ---| --- |--- |
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. |
62
62
|[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. |
63
63
|[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. |
64
64
|[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
73
73
|[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. |
74
74
|[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. |
75
75
|[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
+
78
77
79
78
## Documentation changes
80
79
@@ -84,7 +83,7 @@ Learn about significant changes to the Azure SQL Managed Instance documentation.
84
83
85
84
| Changes | Details |
86
85
| --- | --- |
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 moreinformation, 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. |
Copy file name to clipboardExpand all lines: docs/connect/python/mssql-python/python-sql-driver-mssql-python-quickstart.md
+45-18Lines changed: 45 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: This quickstart describes installing Python, and mssql-python then
4
4
author: dlevy-msft-sql
5
5
ms.author: dlevy
6
6
ms.reviewer: vanto, randolphwest
7
-
ms.date: 06/26/2025
7
+
ms.date: 07/09/2025
8
8
ms.service: sql
9
9
ms.subservice: connectivity
10
10
ms.topic: quickstart-sdk
@@ -14,7 +14,7 @@ ms.custom:
14
14
15
15
# Quickstart: Connect with the mssql-python driver for Python
16
16
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.
@@ -37,7 +37,7 @@ In this quickstart, you connect a Python script to a database that you have crea
37
37
Follow these steps to configure your development environment to develop an application using the `mssql-python` Python driver.
38
38
39
39
> [!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.
41
41
42
42
### Install the mssql-python package
43
43
@@ -47,19 +47,46 @@ Get the [`mssql-python` package](https://pypi.org/project/mssql-python/) from Py
47
47
48
48
1. Install the `mssql-python` package.
49
49
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
+
```
53
80
54
81
### Check installed packages
55
82
56
83
You can use the PyPI command-line tool to verify that your intended packages are installed.
57
84
58
85
1. Check the list of installed packages with `pip list`.
59
86
60
-
```bash
61
-
pip list
62
-
```
87
+
```bash
88
+
pip list
89
+
```
63
90
64
91
### Create a SQL database
65
92
@@ -121,7 +148,7 @@ This quickstart requires the *[!INCLUDE [sssampledbnormal-md](../../../includes/
121
148
```
122
149
123
150
> [!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).
125
152
126
153
### Execute a query
127
154
@@ -161,7 +188,7 @@ Use a SQL query string to execute a query and parse the results.
0 commit comments