Skip to content

Commit ecd9d0d

Browse files
committed
Content refresh
1 parent e374c21 commit ecd9d0d

20 files changed

+642
-632
lines changed

docs/relational-databases/backup-restore/differential-backups-sql-server.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Differential Backups (SQL Server)"
33
description: In SQL Server, a differential backup captures only data that has changed since the last full backup, which is the base of the differential backup.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 05/10/2022
6+
ms.date: 07/15/2025
77
ms.service: sql
88
ms.subservice: backup-restore
99
ms.topic: conceptual
@@ -15,7 +15,7 @@ helpviewer_keywords:
1515

1616
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
1717

18-
This backup and restore article is relevant for all [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] databases.
18+
This backup and restore article is relevant for all [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] databases.
1919

2020
A differential backup is based on the most recent, previous full data backup. A differential backup captures only the data that has changed since that full backup. The full backup upon which a differential backup is based is known as the *base* of the differential. Full backups, except for copy-only backups, can serve as the base for a series of differential backups, including database backups, partial backups, and file backups. The base backup for a file differential backup can be contained within a full backup, a file backup, or a partial backup.
2121

@@ -36,7 +36,7 @@ The following illustration shows how a differential backup works. The figure sho
3636
:::image type="content" source="media/differential-backups-sql-server/how-differential-backups-work.png" alt-text="Diagram of how the differential bitmap identifies changed extents.":::
3737

3838
> [!NOTE]
39-
> The differential bitmap is not updated by a copy-only backup. Therefore, a copy-only backup does not affect subsequent differential backups.
39+
> The differential bitmap isn't updated by a copy-only backup. Therefore, a copy-only backup doesn't affect subsequent differential backups.
4040
4141
A differential backup that is taken fairly soon after its base can be significantly smaller than the differential base. This saves storage space and backup time. However, as a database changes over time, the difference between the database and a specific differential base increases. The longer the time between a differential backup and its base, the larger the differential backup is likely to be. This means that the differential backups can eventually approach the differential base in size. A large differential backup loses the advantages of a faster and smaller backup.
4242

@@ -46,13 +46,13 @@ At restore time, before you restore a differential backup, you must restore its
4646

4747
## Differential backups of databases with memory-optimized tables
4848

49-
For information about differential backups and databases with memory-optimized tables, see [Backing Up a Database with Memory-Optimized Tables](../../relational-databases/in-memory-oltp/backing-up-a-database-with-memory-optimized-tables.md).
49+
For information about differential backups and databases with memory-optimized tables, see [Backing Up a Database with Memory-Optimized Tables](../in-memory-oltp/backing-up-a-database-with-memory-optimized-tables.md).
5050

5151
## Differential backups of read-only databases
5252

53-
For read-only databases, full backups used alone are easier to manage than when they're used with differential backups. When a database is read-only, backup and other operations can't change the metadata that is contained in the file. Therefore, metadata that is required by a differential backup, such as the log sequence number at which the differential backup begins (the differential base LSN) is stored in the `master` database. If the differential base is taken when the database is read-only, the differential bitmap indicates more changes than have occurred since the base backup. The extra data is read by backup, but isn't written to the backup, because the `differential_base_lsn` stored in the [backupset](../../relational-databases/system-tables/backupset-transact-sql.md) system table is used to determine whether the data has changed since the base.
53+
For read-only databases, full backups used alone are easier to manage than when they're used with differential backups. When a database is read-only, backup and other operations can't change the metadata that is contained in the file. Therefore, metadata that is required by a differential backup, such as the log sequence number at which the differential backup begins (the differential base LSN) is stored in the `master` database. If the differential base is taken when the database is read-only, the differential bitmap indicates more changes than have occurred since the base backup. The extra data is read by backup, but isn't written to the backup, because the `differential_base_lsn` stored in the [backupset](../system-tables/backupset-transact-sql.md) system table is used to determine whether the data has changed since the base.
5454

55-
When a read-only database is rebuilt, restored, or detached and attached, the differential-base information is lost. This occurs because the `master` database isn't synchronized with the user database. The [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)] can't detect or prevent this problem. Any later differential backups aren't based on the most recent full backup and could provide unexpected results. To establish a new differential base, we recommend that you create a full database backup.
55+
When a read-only database is rebuilt, restored, or detached and attached, the differential-base information is lost. This occurs because the `master` database isn't synchronized with the user database. The [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] can't detect or prevent this problem. Any later differential backups aren't based on the most recent full backup and could provide unexpected results. To establish a new differential base, we recommend that you create a full database backup.
5656

5757
### Best practices for using differential backups with a read-only database
5858

@@ -64,14 +64,13 @@ If you detach and attach a read-only database for which you plan to later use di
6464

6565
## Related tasks
6666

67-
- [Create a Differential Database Backup (SQL Server)](../../relational-databases/backup-restore/create-a-differential-database-backup-sql-server.md)
67+
- [Create a Differential Database Backup (SQL Server)](create-a-differential-database-backup-sql-server.md)
68+
- [Restore a differential database backup (SQL Server)](restore-a-differential-database-backup-sql-server.md)
6869

69-
- [Restore a Differential Database Backup (SQL Server)](../../relational-databases/backup-restore/restore-a-differential-database-backup-sql-server.md)
70+
## Related content
7071

71-
## See also
72-
73-
- [Backup Overview (SQL Server)](../../relational-databases/backup-restore/backup-overview-sql-server.md)
74-
- [Full Database Backups (SQL Server)](../../relational-databases/backup-restore/full-database-backups-sql-server.md)
75-
- [Complete Database Restores (Full Recovery Model)](../../relational-databases/backup-restore/complete-database-restores-full-recovery-model.md)
76-
- [Complete Database Restores (Simple Recovery Model)](../../relational-databases/backup-restore/complete-database-restores-simple-recovery-model.md)
77-
- [Transaction Log Backups (SQL Server)](../../relational-databases/backup-restore/transaction-log-backups-sql-server.md)
72+
- [Backup overview (SQL Server)](backup-overview-sql-server.md)
73+
- [Full database backups (SQL Server)](full-database-backups-sql-server.md)
74+
- [Complete Database Restores (Full Recovery Model)](complete-database-restores-full-recovery-model.md)
75+
- [Complete Database Restores (Simple Recovery Model)](complete-database-restores-simple-recovery-model.md)
76+
- [Transaction log backups (SQL Server)](transaction-log-backups-sql-server.md)

docs/relational-databases/clr-integration-database-objects-types-net-framework/mapping-clr-parameter-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Mapping CLR Parameter Data"
33
description: This article lists Microsoft SQL Server data types, equivalents in the CLR for SQL Server, and native CLR equivalents in the .NET Framework.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 12/27/2024
6+
ms.date: 07/15/2025
77
ms.service: sql
88
ms.subservice: clr
99
ms.topic: "reference"
@@ -31,7 +31,7 @@ helpviewer_keywords:
3131
The following table lists [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] data types, their equivalents in the common language runtime (CLR) for [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] in the `System.Data.SqlTypes` namespace, and their native CLR equivalents in the .NET Framework.
3232

3333
| SQL Server data type | Type (in `System.Data.SqlTypes` or `Microsoft.SqlServer.Types`) | CLR data type (.NET Framework) |
34-
| - | - | - |
34+
| --- | --- | --- |
3535
| **bigint** | `SqlInt64` | `Int64`, `Nullable<Int64>` |
3636
| **binary** | `SqlBytes`, `SqlBinary` | `Byte[]` |
3737
| **bit** | `SqlBoolean` | `Boolean`, `Nullable<Boolean>` |
7.81 KB
Loading

0 commit comments

Comments
 (0)