Syntax Error Converting From A Character String To UniqueIdentifier

Sometimes when trying to execute an SQL query you can get the following error:

Syntax error converting from a character string to uniqueidentifier.

This error is because the type of variable you are trying to enter is a character string (such as some words), while the database column is set to expect a GUID type.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

Leave a comment

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