Conversion failed when converting from a character string to uniqueidentifier – Two GUIDs

MSDN Documentation Here

To add a bit of context to M.Ali’s Answer you can convert a string to a uniqueidentifier using the following code

   SELECT CONVERT(uniqueidentifier,'DF215E10-8BD4-4401-B2DC-99BB03135F2E')

If that doesn’t work check to make sure you have entered a valid GUID

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)