Skip to content

Latest commit

 

History

History
82 lines (59 loc) · 3.66 KB

sp-change-feed-disable-table.md

File metadata and controls

82 lines (59 loc) · 3.66 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords dev_langs monikerRange
sys.sp_change_feed_disable_table (Transact-SQL)
The internal sys.sp_change_feed_disable_table system stored procedure disables a table in the change feed.
WilliamDAssafMSFT
wiassaf
randolphwest
08/21/2024
azure-synapse-analytics
system-objects
reference
sp_change_feed_disable_table_TSQL
sp_change_feed_disable_table
sys.sp_change_feed_disable_table_TSQL
sys.sp_change_feed_disable_table
sp_change_feed_disable_table
TSQL
>=sql-server-ver16 || =azuresqldb-current || =azure-sqldw-latest || =fabric

sys.sp_change_feed_disable_table (Transact-SQL)

[!INCLUDE sqlserver2022-asdb-asa-fabric]

Removes a table from the change feed for Azure Synapse Link for SQL or Fabric mirrored databases.

Note

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.

Syntax

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

sys.sp_change_feed_disable_table
    @table_group_id
    , @table_id
GO

Arguments

@table_group_id

Required. Data type is uniqueidentifier.

The unique identifier of the change feed table group that the table belongs to. It's a GUID generated by the initial setup.

@table_id

Required. Data type is uniqueidentifier.

The unique identifier of the link table. It's the GUID generated by the setup flow and passed to the source publisher during provision.

Remarks

The last changes published and synchronized to Azure Synapse can't be guaranteed. To guarantee synchronization between source and target up to a certain time, verify the "last transaction commit time" on the target and then call this procedure.

Permissions

A user with CONTROL database permissions, db_owner database role membership, or sysadmin server role membership can execute this procedure.

Related content

For Microsoft Fabric mirrored databases:

For Azure Synapse Link: