Error: The @newname value ‘test’ is already in use as a OBJECT name and would cause a duplicate that is not permitted. (Microsoft SQL Server, Error: 15335)

 

ERROR MESAGGE:

“Error: The @newname value ‘test’ is already in use as a OBJECT name and would cause a duplicate that is not permitted. (Microsoft SQL Server, Error: 15335)”

DESCRIPTION:

When you try to change the name of an existing object (such as “table” or “view” …), if you already have another object with that name, you will get this error message.

SOLUTION:

If you want to create the object with the same names, then you must use different “Schema” objects for these objects.

Ekrem Önsoy
Author: Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

Your email address will not be published. Required fields are marked *