Skip to content

Commit 0445129

Browse files
authored
Merge pull request #31641 from rwestMSFT/rw-0822-system-stored-procedures-0001
Latest bulk changes for system stored procedures
2 parents 62e4046 + a8702ae commit 0445129

100 files changed

Lines changed: 462 additions & 458 deletions

File tree

Some content is hidden

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

docs/relational-databases/system-stored-procedures/sp-change-feed-enable-tables-after-reseed.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ helpviewer_keywords:
1717
- "sp_change_feed_enable_tables_after_reseed"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric"
2121
---
2222
# sys.sp_change_feed_enable_tables_after_reseed (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-fabric](../../includes/applies-to-version/sqlserver2022-asdb-fabric.md)]
2525

2626
Internal procedure that enables tables after reseed within the current database context.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
3030
31-
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
31+
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3232

3333
## Syntax
3434

@@ -61,6 +61,6 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
6161
- [sys.sp_change_feed_configure_parameters (Transact-SQL)](sp-change-feed-configure-parameters.md)
6262
- [sys.dm_change_feed_log_scan_sessions (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-log-scan-sessions.md)
6363
- [sys.dm_change_feed_errors (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-errors.md)
64-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
65-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
66-
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
64+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
65+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
66+
- [Explore data in your mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)

docs/relational-databases/system-stored-procedures/sp-change-feed-is-slo-allowed.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ helpviewer_keywords:
1717
- "sp_change_feed_is_slo_allowed"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric||=azure-sqldw-latest"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric || =azure-sqldw-latest"
2121
---
2222
# sys.sp_change_feed_is_slo_allowed (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-asa-fabric](../../includes/applies-to-version/sqlserver2022-asdb-asa-fabric.md)]
2525

2626
Checks for a supported service level objective.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use Synapse Studio or the Fabric portal instead.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use Synapse Studio or the Fabric portal instead.
3030
3131
This system stored procedure is used for:
3232

3333
- The Azure Synapse Link feature for SQL Server instances and Azure SQL Database. For more information, see [Manage Azure Synapse Link for SQL Server and Azure SQL Database](../../sql-server/synapse-link/synapse-link-sql-server-change-feed-manage.md).
34-
- The Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
34+
- The Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3535

3636
## Syntax
3737

@@ -57,8 +57,8 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
5757

5858
**For Microsoft Fabric mirrored databases**:
5959

60-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
61-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
60+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
61+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
6262
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
6363

6464
**For Azure Synapse Link**:

docs/relational-databases/system-stored-procedures/sp-change-feed-reseed-db-init.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ helpviewer_keywords:
1717
- "sp_change_feed_reseed_db_init"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric"
2121
---
2222
# sys.sp_change_feed_reseed_db_init (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-fabric](../../includes/applies-to-version/sqlserver2022-asdb-fabric.md)]
2525

2626
Executes a database reseed.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
3030
31-
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
31+
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3232

3333
## Syntax
3434

@@ -62,6 +62,6 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
6262
- [sys.sp_change_feed_configure_parameters (Transact-SQL)](sp-change-feed-configure-parameters.md)
6363
- [sys.dm_change_feed_log_scan_sessions (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-log-scan-sessions.md)
6464
- [sys.dm_change_feed_errors (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-errors.md)
65-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
66-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
67-
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
65+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
66+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
67+
- [Explore data in your mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)

docs/relational-databases/system-stored-procedures/sp-change-feed-reseed-db-start-replication.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ helpviewer_keywords:
1717
- "sp_change_feed_reseed_db_start_replication"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric"
2121
---
2222
# sys.sp_change_feed_reseed_db_start_replication (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-fabric](../../includes/applies-to-version/sqlserver2022-asdb-fabric.md)]
2525

2626
Begins replication for a database in a reseed state.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
3030
31-
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
31+
This system stored procedure is used for the Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3232

3333
## Syntax
3434

@@ -61,6 +61,6 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
6161
- [sys.sp_change_feed_configure_parameters (Transact-SQL)](sp-change-feed-configure-parameters.md)
6262
- [sys.dm_change_feed_log_scan_sessions (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-log-scan-sessions.md)
6363
- [sys.dm_change_feed_errors (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-errors.md)
64-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
65-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
66-
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
64+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
65+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
66+
- [Explore data in your mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)

docs/relational-databases/system-stored-procedures/sp-change-feed-reseed-table.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ helpviewer_keywords:
1717
- "sp_change_feed_reseed_table"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric"
2121
---
2222
# sys.sp_change_feed_reseed_table (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-fabric](../../includes/applies-to-version/sqlserver2022-asdb-fabric.md)]
2525

2626
Reseeds the link table in the current database context.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use the Fabric portal instead. Using this procedure could introduce inconsistency.
3030
31-
This system stored procedure is used for Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
31+
This system stored procedure is used for Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3232

3333
## Syntax
3434

@@ -55,6 +55,6 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
5555
- [sys.sp_change_feed_configure_parameters (Transact-SQL)](sp-change-feed-configure-parameters.md)
5656
- [sys.dm_change_feed_log_scan_sessions (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-log-scan-sessions.md)
5757
- [sys.dm_change_feed_errors (Transact-SQL)](../system-dynamic-management-views/sys-dm-change-feed-errors.md)
58-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
59-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
60-
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
58+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
59+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
60+
- [Explore data in your mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)

docs/relational-databases/system-stored-procedures/sp-change-feed-vupgrade.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ helpviewer_keywords:
1717
- "sp_change_feed_vupgrade"
1818
dev_langs:
1919
- "TSQL"
20-
monikerRange: ">=sql-server-ver16||=azuresqldb-current||=fabric||=azure-sqldw-latest"
20+
monikerRange: ">=sql-server-ver16 || =azuresqldb-current || =fabric || =azure-sqldw-latest"
2121
---
2222
# sys.sp_change_feed_vupgrade (Transact-SQL)
2323

2424
[!INCLUDE [sqlserver2022-asdb-asa-fabric](../../includes/applies-to-version/sqlserver2022-asdb-asa-fabric.md)]
2525

2626
Upgrades the change feed schema if required.
2727

28-
> [!NOTE]
29-
> This system stored procedure is used internally and is not recommended for direct administrative use. Use Synapse Studio or the Fabric portal instead. Using this procedure could introduce inconsistency.
28+
> [!NOTE]
29+
> This system stored procedure is used internally and isn't recommended for direct administrative use. Use Synapse Studio or the Fabric portal instead. Using this procedure could introduce inconsistency.
3030
3131
This system stored procedure is used for:
3232

3333
- The Azure Synapse Link feature for SQL Server instances and Azure SQL Database. For more information, see [Manage Azure Synapse Link for SQL Server and Azure SQL Database](../../sql-server/synapse-link/synapse-link-sql-server-change-feed-manage.md).
34-
- The Fabric Mirrored Database feature for Azure SQL Database. For more information, see [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview).
34+
- The Fabric Mirrored Database feature for Azure SQL Database. For more information, see [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview).
3535

3636
## Syntax
3737

@@ -61,8 +61,8 @@ A user with [CONTROL database permissions](../security/permissions-database-engi
6161

6262
**For Microsoft Fabric mirrored databases**:
6363

64-
- [Microsoft Fabric mirrored databases (Preview)](/fabric/database/mirrored-database/overview)
65-
- [Microsoft Fabric mirrored databases monitoring](/fabric/database/mirrored-database/monitor)
64+
- [What is Mirroring in Fabric?](/fabric/database/mirrored-database/overview)
65+
- [Monitor Fabric mirrored database replication](/fabric/database/mirrored-database/monitor)
6666
- [Explore data in your Mirrored database using Microsoft Fabric](/fabric/database/mirrored-database/explore)
6767

6868
**For Azure Synapse Link**:

docs/relational-databases/system-stored-procedures/sp-change-log-shipping-primary-database-transact-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Changes the primary database settings."
44
author: MashaMSFT
55
ms.author: mathoma
66
ms.reviewer: randolphwest
7-
ms.date: 06/06/2023
7+
ms.date: 08/21/2024
88
ms.service: sql
99
ms.subservice: system-objects
1010
ms.topic: "reference"
@@ -51,15 +51,15 @@ The name of the database on the primary server. *@primary_database* is **sysname
5151

5252
#### [ @backup_directory = ] N'*backup_directory*'
5353

54-
The path to the backup folder on the primary server. *@backup_directory* is **nvarchar(500)**, with no default, and can't be NULL.
54+
The path to the backup folder on the primary server. *@backup_directory* is **nvarchar(500)**, with no default, and can't be `NULL`.
5555

5656
#### [ @backup_share = ] N'*backup_share*'
5757

58-
The network path to the backup directory on the primary server. *@backup_share* is **nvarchar(500)**, with no default, and can't be NULL.
58+
The network path to the backup directory on the primary server. *@backup_share* is **nvarchar(500)**, with no default, and can't be `NULL`.
5959

6060
#### [ @backup_retention_period = ] '*backup_retention_period*'
6161

62-
The length of time, in minutes, to retain the log backup file in the backup directory on the primary server. *@backup_retention_period* is **int**, with no default, and can't be NULL.
62+
The length of time, in minutes, to retain the log backup file in the backup directory on the primary server. *@backup_retention_period* is **int**, with no default, and can't be `NULL`.
6363

6464
#### [ @monitor_server_security_mode = ] '*monitor_server_security_mode*'
6565

@@ -68,7 +68,7 @@ The security mode used to connect to the monitor server.
6868
- `1` = Windows Authentication
6969
- `0` = SQL Server Authentication
7070

71-
*@monitor_server_security_mode* is **bit** and defaults to NULL.
71+
*@monitor_server_security_mode* is **bit** and defaults to `NULL`.
7272

7373
#### [ @monitor_server_login = ] '*monitor_server_login*'
7474

@@ -84,7 +84,7 @@ The length of time, in minutes, after the last backup before a *@threshold_alert
8484

8585
#### [ @threshold_alert = ] '*threshold_alert*'
8686

87-
The alert to be raised when the backup threshold is exceeded. *@threshold_alert* is **int** and can't be NULL.
87+
The alert to be raised when the backup threshold is exceeded. *@threshold_alert* is **int** and can't be `NULL`.
8888

8989
#### [ @threshold_alert_enabled = ] '*threshold_alert_enabled*'
9090

@@ -93,7 +93,7 @@ Specifies whether an alert is raised when *@backup_threshold* is exceeded.
9393
- `1`: enabled
9494
- `0`: disabled
9595

96-
*threshold_alert_enabled* is **bit** and can't be NULL.
96+
*threshold_alert_enabled* is **bit** and can't be `NULL`.
9797

9898
#### [ @history_retention_period = ] '*history_retention_period*'
9999

@@ -107,7 +107,7 @@ Specifies whether a log shipping configuration uses [backup compression](../back
107107

108108
- `1`: Enabled. Always compress log backups
109109

110-
- `2` (default): Use the setting of the [View or Configure the backup compression default Server Configuration Option](../../database-engine/configure-windows/view-or-configure-the-backup-compression-default-server-configuration-option.md)
110+
- `2` (default): Use the setting of the [View or Configure the backup compression default (server configuration option)](../../database-engine/configure-windows/view-or-configure-the-backup-compression-default-server-configuration-option.md)
111111

112112
## Return code values
113113

@@ -151,6 +151,6 @@ EXEC master.dbo.sp_change_log_shipping_primary_database
151151

152152
## Related content
153153

154-
- [About Log Shipping (SQL Server)](../../database-engine/log-shipping/about-log-shipping-sql-server.md)
154+
- [About log shipping (SQL Server)](../../database-engine/log-shipping/about-log-shipping-sql-server.md)
155155
- [System stored procedures (Transact-SQL)](system-stored-procedures-transact-sql.md)
156156
- [log_shipping_primary_databases (Transact-SQL)](../system-tables/log-shipping-primary-databases-transact-sql.md)

docs/relational-databases/system-stored-procedures/sp-change-log-shipping-secondary-primary-transact-sql.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Changes secondary database settings."
44
author: MashaMSFT
55
ms.author: mathoma
66
ms.reviewer: randolphwest
7-
ms.date: 06/06/2023
7+
ms.date: 08/21/2024
88
ms.service: sql
99
ms.subservice: system-objects
1010
ms.topic: "reference"
@@ -43,19 +43,19 @@ sp_change_log_shipping_secondary_primary
4343

4444
#### [ @primary_server = ] '*primary_server*'
4545

46-
The name of the primary instance of the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] in the log shipping configuration. *@primary_server* is **sysname** and can't be NULL.
46+
The name of the primary instance of the [!INCLUDE [ssDEnoversion](../../includes/ssdenoversion-md.md)] in the log shipping configuration. *@primary_server* is **sysname** and can't be `NULL`.
4747

4848
#### [ @primary_database = ] '*primary_database*'
4949

5050
The name of the database on the primary server. *@primary_database* is **sysname**, with no default.
5151

5252
#### [ @backup_source_directory = ] N'*backup_source_directory*'
5353

54-
The directory where transaction log backup files from the primary server are stored. *@backup_source_directory* is **nvarchar(500)** and can't be NULL.
54+
The directory where transaction log backup files from the primary server are stored. *@backup_source_directory* is **nvarchar(500)** and can't be `NULL`.
5555

5656
#### [ @backup_destination_directory = ] N'*backup_destination_directory*'
5757

58-
The directory on the secondary server where backup files are copied to. *@backup_destination_directory* is **nvarchar(500)** and can't be NULL.
58+
The directory on the secondary server where backup files are copied to. *@backup_destination_directory* is **nvarchar(500)** and can't be `NULL`.
5959

6060
#### [ @file_retention_period = ] '*file_retention_period*'
6161

@@ -68,7 +68,7 @@ The security mode used to connect to the monitor server.
6868
- `1`: Windows Authentication;
6969
- `0`: [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] Authentication.
7070

71-
*@monitor_server_security_mode* is **bit** and defaults to NULL.
71+
*@monitor_server_security_mode* is **bit** and defaults to `NULL`.
7272

7373
#### [ @monitor_server_login = ] '*monitor_server_login*'
7474

@@ -100,5 +100,5 @@ Only members of the **sysadmin** fixed server role can run this procedure.
100100

101101
## Related content
102102

103-
- [About Log Shipping (SQL Server)](../../database-engine/log-shipping/about-log-shipping-sql-server.md)
103+
- [About log shipping (SQL Server)](../../database-engine/log-shipping/about-log-shipping-sql-server.md)
104104
- [System stored procedures (Transact-SQL)](system-stored-procedures-transact-sql.md)

0 commit comments

Comments
 (0)