SQL Server Error Msg 6995 – Invalid definition for type ‘%s’. SQL Server does not permit the built-in XML Schema types ‘ID’ and ‘IDREF’ or types derived from them to be used as the type of an element or as the basis for derivation by extension.

In this blog post, let’s learn about the error message “6995 – Invalid definition for type ‘%s’. SQL Server does not permit the built-in XML Schema types ‘ID’ and ‘IDREF’ or types derived from them to be used as the type of an element or as the basis for derivation by extension.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6995 – Invalid definition for type ‘%s’. SQL Server does not permit the built-in XML Schema types ‘ID’ and ‘IDREF’ or types derived from them to be used as the type of an element or as the basis for derivation by extension.

Reason for the Error

To be update soon…

Solution

To be update soon…