Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.79 KB

File metadata and controls

50 lines (38 loc) · 1.79 KB
title sys.sp_disable_event_stream (Transact-SQL)
description sys.sp_disable_event_stream disables change event streaming at the database level for the change event streaming feature.
author nzagorac-ms
ms.author nzagorac
ms.reviewer mathoma, mikeray, randolphwest
ms.date 12/17/2025
ms.service sql
ms.subservice system-objects
ms.topic reference
ms.custom
ignite-2025
f1_keywords
sys_sp_disable_event_stream_TSQL
sys_sp_disable_event_stream
helpviewer_keywords
sys_sp_disable_event_stream
dev_langs
TSQL
monikerRange =sql-server-ver17 || =sql-server-linux-ver17

sys.sp_disable_event_stream (Transact-SQL)

[!INCLUDE sqlserver2025]

Disables change event streaming at the database level for the current database context, including all associated tables. What is change event streaming (preview)? was introduced in [!INCLUDE sssql25-md] and Azure SQL Database.

[!INCLUDE change-event-streaming-preview]

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

Syntax

sys.sp_disable_event_stream
[ ; ]

Arguments

None.

Permissions

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

Related content