Skip to content

Commit cf9b6b2

Browse files
authored
Merge pull request #31746 from MicrosoftDocs/main
9/03/2024 PM Publish
2 parents 699a6c8 + 92a9b33 commit cf9b6b2

File tree

978 files changed

+4835
-3132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

978 files changed

+4835
-3132
lines changed

.openpublishing.redirection.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62934,6 +62934,51 @@
6293462934
"source_path": "docs/ssms/scripting/transact-sql-debugger-watch-window.md",
6293562935
"redirect_url": "/sql/ssdt/debugger/transact-sql-debugger",
6293662936
"redirect_document_id": false
62937+
},
62938+
{
62939+
"source_path": "docs/ssdt/how-to-use-schema-compare-to-compare-different-database-definitions.md",
62940+
"redirect_url": "/sql/tools/sql-database-projects/concepts/schema-comparison",
62941+
"redirect_document_id": false
62942+
},
62943+
{
62944+
"source_path": "docs/ssdt/how-to-change-target-platform-and-publish-a-database-project.md",
62945+
"redirect_url": "/sql/tools/sql-database-projects/concepts/target-platform",
62946+
"redirect_document_id": false
62947+
},
62948+
{
62949+
"source_path": "docs/ssdt/how-to-specify-predeployment-or-postdeployment-scripts.md",
62950+
"redirect_url": "/sql/tools/sql-database-projects/concepts/pre-post-deployment-scripts",
62951+
"redirect_document_id": false
62952+
},
62953+
{
62954+
"source_path": "docs/ssdt/dac-framework-compatibility.md",
62955+
"redirect_url": "/sql/ssdt/alter-dacfx-used-by-ssdt",
62956+
"redirect_document_id": false
62957+
},
62958+
{
62959+
"source_path": "docs/ssdt/using-msdeploy-with-dbsqlpackage-provider.md",
62960+
"redirect_url": "/sql/tools/sqlpackage/sqlpackage-publish",
62961+
"redirect_document_id": false
62962+
},
62963+
{
62964+
"source_path": "docs/ssdt/project-oriented-database-development-using-command-line-tools.md",
62965+
"redirect_url": "/sql/tools/sql-database-projects/sql-database-projects",
62966+
"redirect_document_id": false
62967+
},
62968+
{
62969+
"source_path": "docs/ssdt/walkthrough-author-custom-static-code-analysis-rule-assembly.md",
62970+
"redirect_url": "/sql/tools/sql-database-projects/howto/author-custom-code-analysis-rules",
62971+
"redirect_document_id": false
62972+
},
62973+
{
62974+
"source_path": "docs/ssdt/overview-of-extensibility-for-database-code-analysis-rules.md",
62975+
"redirect_url": "/sql/tools/sql-database-projects/concepts/code-analysis-extensibility",
62976+
"redirect_document_id": false
62977+
},
62978+
{
62979+
"source_path": "docs/ssdt/how-to-convert-visual-studio-2010-database-projects-to-ssql-server-projects.md",
62980+
"redirect_url": "/sql/tools/sql-database-projects/howto/convert-an-original-sql-project",
62981+
"redirect_document_id": false
6293762982
}
6293862983
]
6293962984
}

azure-sql/database/automated-backups-overview.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how Azure SQL Database automatically backs up all databases a
55
author: WilliamDAssafMSFT
66
ms.author: wiassaf
77
ms.reviewer: mathoma, danil, dinethi
8-
ms.date: 07/24/2024
8+
ms.date: 09/03/2024
99
ms.service: azure-sql-database
1010
ms.subservice: backup-restore
1111
ms.topic: conceptual
@@ -103,6 +103,18 @@ You can use automatically created backups in the following scenarios:
103103
> Geo-restore is available only for databases that are configured with geo-redundant backup storage. If you're not currently using geo-replicated backups for a database, you can change this by [configuring backup storage redundancy](automated-backups-change-settings.md#configure-backup-storage-redundancy).
104104
- [Restore a database from a specific long-term backup](long-term-retention-overview.md) of a single or pooled database, if the database has been configured with an LTR policy. LTR allows you to [restore an older version of the database](long-term-backup-retention-configure.md) by using the Azure portal, the Azure CLI, or Azure PowerShell to satisfy a compliance request or to run an older version of the application. For more information, see [Long-term retention](long-term-retention-overview.md).
105105

106+
## Automatic backups on secondary replicas
107+
108+
Automatic backups are now taken from a secondary replica in the [Business Critical](service-tiers-sql-database-vcore.md#business-critical) service tier. Since data is replicated between SQL Server processes on each node, the backup service takes the backup from the non-readable secondary replicas. This design ensures the primary replica remains dedicated to your main workload, and the readable secondary replica is dedicated to read-only workloads. Automatic backups in the Business Critical service tier are taken from a secondary replica most of the time. If an automatic backup fails on a secondary replica, then the backup service takes the backup from the primary replica.
109+
110+
Automatic backups on secondary replicas:
111+
112+
- Are enabled by default.
113+
- Are included at no additional cost beyond the price of the service tier.
114+
- Bring improved performance and predictability to the Business Critical service tier.
115+
116+
> [!NOTE]
117+
> - Create a Microsoft support ticket to disable the feature for your instance.
106118
107119
## <a id="restore-capabilities"></a> Restore capabilities and features
108120

@@ -139,6 +151,8 @@ To perform a restore, see [Restore a database from backups](recovery-using-backu
139151
| **Restore a database from a point in time** | [SQL Database](recovery-using-backups.md#point-in-time-restore)<br>[SQL Managed Instance](../managed-instance/point-in-time-restore.md) | [SQL Database](/cli/azure/sql/db#az-sql-db-restore) <br/> [SQL Managed Instance](/cli/azure/sql/midb#az-sql-midb-restore) | [SQL Database](/powershell/module/az.sql/restore-azsqldatabase) <br/> [SQL Managed Instance](/powershell/module/az.sql/restore-azsqlinstancedatabase) |
140152
| **Restore a deleted database** | [SQL Database](recovery-using-backups.md)<br>[SQL Managed Instance](../managed-instance/point-in-time-restore.md#restore-a-deleted-database) | [SQL Database](long-term-backup-retention-configure.md#restore-from-ltr-backups) <br/> [SQL Managed Instance](../managed-instance/long-term-backup-retention-configure.md#restore-from-ltr-backups) | [SQL Database](/powershell/module/az.sql/get-azsqldeleteddatabasebackup) <br/> [SQL Managed Instance](/powershell/module/az.sql/get-azsqldeletedinstancedatabasebackup)|
141153

154+
155+
142156
## Export a database
143157

144158
Automatic backups taken by the Azure service are not available to download or access directly. They can only be used for restore operations through Azure.
@@ -147,6 +161,7 @@ There are alternatives to export an Azure SQL Database. When you need to export
147161

148162
You can also [Import or export an Azure SQL Database using private link](database-import-export-private-link.md) or [Import or export an Azure SQL Database without allowing Azure services to access the server](database-import-export-azure-services-off.md).
149163

164+
150165
## Backup scheduling
151166

152167
The first full backup is scheduled immediately after a new database is created or restored. This backup usually finishes within 30 minutes, but it can take longer when the database is large. For example, the initial backup can take longer on a restored database or a database copy, which would typically be larger than a new database.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The following table lists features of Azure SQL Database that have been made gen
7272
| [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. |
7373
| [Maintenance window support for named replicas](https://aka.ms/MWsupportforNR)|August 2024|[Maintenance window](maintenance-window.md) support for named replicas is now generally available.|
7474
| [Maintenance window](maintenance-window.md) support for Hyperscale | August 2024| [Maintenance window](maintenance-window.md) support for Hyperscale databases is now generally available. |
75+
| [Automatic backups on secondary replicas](automated-backups-overview.md#automatic-backups-on-secondary-replicas) | August 2024 | Mitigate the performance impact on your workload by taking automated backups from the non-readable secondary replica in the Business Critical service tier. |
7576
| [Database compatibility level 160 is now default](/sql/t-sql/statements/alter-database-transact-sql-compatibility-level?view=azuresqldb-current&preserve-view=true) | June 2024 | Database compatibility level 160 is now the default for new databases created in Azure SQL Database. For more information on this announcement, see [General availability: Database compatibility level 160 in Azure SQL Database](https://techcommunity.microsoft.com/t5/azure-sql-blog/general-availability-database-compatibility-level-160-in-azure/ba-p/4172039). |
7677
| [Hyperscale named replica zone redundant support](service-tier-hyperscale-replicas.md) | June 2024 | [Zone redundancy support for Hyperscale named replicas](https://aka.ms/ZRSupportForNRPreview) is now generally available. |
7778
| [License-free standby replica](standby-replica-how-to-configure.md) | May 2024 | Save on licensing costs by configuring your secondary database replica for disaster recovery standby. |
@@ -91,12 +92,14 @@ Learn about significant changes to the Azure SQL Database documentation. For pre
9192

9293
| Changes | Details |
9394
| --- | --- |
95+
|**Automatic backups on secondary replica GA** | Mitigate the performance impact on your workload by taking automated backups from a non-readable secondary replica in the Business Critical service tier. This feature is generally available. Review [Automated backups on secondary replicas](automated-backups-overview.md#automatic-backups-on-secondary-replicas) to learn more. |
9496
| **CURRENT_DATE Transact-SQL GA** | The `CURRENT_DATE` Transact-SQL (T-SQL) function returns the current database system date as a date value, without the database time and time zone offset. This function is now generally available. For more information, see [CURRENT_DATE (Transact-SQL)](/sql/t-sql/functions/current-date-transact-sql). |
9597
| **Maintenance window support for named replicas GA**|[Maintenance window](maintenance-window.md) support for named replicas is now generally available. For more information, read [Maintenance window support for named replicas](https://aka.ms/MWsupportforNR).|
9698
| **Maintenance window support for Hyperscale GA** | [Maintenance window](maintenance-window.md) support for Hyperscale databases is now generally available. |
9799
| **Local development experience for Azure SQL Database using Dev Container Templates** | We've provided details and quickstarts to get started with the new [local dev experience for Azure SQL Database](local-dev-experience-dev-containers.md). Dev Container Templates replace the previous local emulator experience. To get started, see [Quickstart: Set up a development environment with Dev Container Templates for Azure SQL Database](local-dev-experience-dev-containers-quickstart.md). |
98100
| **Resource limits changes** | There are [new default vCore limits](resource-limits-logical-server.md#subscription-vcore-limits-per-region) per region per subscription. Additionally, requests for increasing default DTU limits are now done with [vCores](quota-increase-request.md#vcores-per-subscription).
99101

102+
100103
### July 2024
101104

102105
| Changes | Details |

docs/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,16 @@ then
181181
exit;
182182
fi
183183

184+
# Add the signature to trust the Microsoft repo
185+
# For Ubuntu versions < 24.04
184186
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
187+
# For Ubuntu versions >= 24.04
188+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
185189

190+
# Add repo to apt sources
186191
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
187192

193+
# Install the driver
188194
sudo apt-get update
189195
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
190196
# optional: for bcp and sqlcmd

0 commit comments

Comments
 (0)