| title | Delete a Version | ||
|---|---|---|---|
| description | Delete a Version (Master Data Services) | ||
| author | meetdeepak | ||
| ms.author | dkhare | ||
| ms.reviewer | mikeray | ||
| ms.date | 03/05/2026 | ||
| ms.service | sql | ||
| ms.subservice | master-data-services | ||
| ms.topic | how-to | ||
| ms.custom |
|
||
| helpviewer_keywords |
|
[!INCLUDE SQL Server - Windows only ASDBMI]
[!INCLUDE support-notice]
In [!INCLUDEssMDSshort], delete a version when you are sure you no longer need the master data associated with the version. After you delete a version, you cannot retrieve the associated master data.
Warning
If a model has only one version and you delete it, the model becomes unusable.
To perform this procedure:
- You must have permission to view the mdm.viw_SYSTEM_SCHEMA_VERSION view and to execute the mds.udpVersionDelete stored procedure in the [!INCLUDEssMDSshort] database. For more information, see Database Object Security (Master Data Services).
-
Open [!INCLUDEssManStudioFull] and connect to the [!INCLUDEssDE] instance for your [!INCLUDEssMDSshort] database.
-
Open the mdm.viw_SYSTEM_SCHEMA_VERSION view.
-
Find the version of the model you want to delete and copy the value in the ID field.
-
Create a new query.
-
Type the following text, replacing version_ID with the value you copied in step 2.
EXEC [mdm].[udpVersionDelete] @Version_ID='version_ID' -
Run the query.
[!NOTE]
You may have to wait a few minutes before the Web application reflects the change.
Versions (Master Data Services)
Copy a Version (Master Data Services)