Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.4 KB

File metadata and controls

44 lines (35 loc) · 2.4 KB
title MSSQL_ENG003724
description MSSQL_ENG003724
author MashaMSFT
ms.author mathoma
ms.date 09/25/2024
ms.service sql
ms.subservice replication
ms.topic reference
ms.custom
updatefrequency5
helpviewer_keywords
MSSQL_ENG003724 error
monikerRange =azuresqldb-mi-current||>=sql-server-2016

MSSQL_ENG003724

[!INCLUDE SQL Server SQL MI]

Message Details

Attribute Value
Product Name SQL Server
Event ID 3724
Event Source MSSQLSERVER
Component [!INCLUDEssDEnoversion]
Symbolic Name
Message Text Cannot %S_MSG the %S_MSG '%.*ls' because it is being used for replication.

Explanation

When objects in a database are replicated, they are marked as replicated in the system table sysarticles (for snapshot and transactional publications) or sysmergearticles (for merge publications). If you attempt drop a replicated object, this error is raised.

User Action

Ensure the database object is not replicated before attempting to drop it. For example:

If this error occurs in a database that is not replicated, execute sp_removedbreplication (Transact-SQL) to ensure objects in the database are not marked as replicated.

Related content