title: Conversion failed when converting from a character string to uniqueidentifier - Two GUIDs
body: <p>I don't understand why I can't insert this. I can't spot the problem. The error message is
  <em>Conversion failed when converting from a character string to uniqueidentifier.</em></p>
  
  <p>The GUIDs are the ones that I got when I did a select from some other tables.</p>
  
  <pre><code>insert into [db].[dbo].[table] (myid,friendid,time1,time2) values
   ( CONVERT(uniqueidentifier,'0C6A36BA-10E4-438F-BA86-0D5B68A2BB15'),
     CONVERT(uniqueidentifier,'DF215E10-8BD4-4401-B2DC-99BB03135F2E'),
  '2014-01-05 02:04:41.953','2014-01-05 12:04:41.953')
  </code></pre>
  
  <p>I use SQL Server 2012</p>
  
  <p>The columns are</p>
  
  <pre><code>id        uniqueidentifier,
  myid      uniqueidentifier,
  friendid  uniqueidentifier,
  time1     datetime nullable,
  time2     datetime nullable
  </code></pre>