Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.84 KB

File metadata and controls

44 lines (35 loc) · 1.84 KB
title sys.sp_disable_event_stream (Transact-SQL)
description Disables change event streaming at the database level for the change event streaming feature introduced in [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] by using Transact-SQL (T-SQL).
author nzagorac-ms
ms.author nzagorac
ms.reviewer mathoma, mikeray, randolphwest
ms.date 11/18/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. Change event streaming (CES) 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

sp_disable_event_stream

Permissions

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

Related content