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

The problem was that the ID column wasn’t getting any value. I saw on @Martin Smith SQL Fiddle that he declared the ID column with DEFAULT newid and I didn’t..

Leave a Comment