When you run the DBCC CLONEDATABASE command in an instance of Microsoft SQL Server 2014 or 2016, the DBCC CLONEDATABASE command may be unsuccessful. Additionally, you receive the following error message if the database has an object that was originally created in SQL Server 2000:
Database cloning for 'DB_Name' has started with target as 'Clone_DB_Name'.
Msg 2601, Level 14, State 1, Line 7
Cannot insert duplicate key row in object 'sys.sysschobjs' with unique index 'clst'. The duplicate key value is key_value.
This issue occurs because of a key collision between the default service broker objects in the destination and the user objects in the source.
This issue is fixed in the following cumulative updates for SQL Server:
Note This fix checks the collision and drop service broker objects as needed to prevent this issue.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 4016238 - Last Review: May 15, 2017 - Revision: 13