SQL Server Error Msg 6938 – XML Validation: The canonical form of the value ‘%ls’ is not valid according to the specified type. This can result from the use of pattern facets on non-string types or range restrictions or enumerations on floating-point types.

In this blog post, let’s learn about the error message “6938 – XML Validation: The canonical form of the value ‘%ls’ is not valid according to the specified type. This can result from the use of pattern facets on non-string types or range restrictions or enumerations on floating-point types.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

6938 – XML Validation: The canonical form of the value ‘%ls’ is not valid according to the specified type. This can result from the use of pattern facets on non-string types or range restrictions or enumerations on floating-point types.

Reason for the Error

To be update soon…

Solution

To be update soon…