title: Sql query, selecting on unique identifier gives - Error converting data type varchar to uniqueidentifier
body: <p>How do I select a column of type uniqueidentifier when I have a guid? </p>
  
  <p>I've tried doing following: </p>
  
  <pre><code>SELECT * FROM MyTable WHERE id = '442402e-207d-b012-4b60-005056c00123'
  
  and 
  
  SELECT * FROM MyTable WHERE id = '{442402e-207d-b012-4b60-005056c00123}'
  </code></pre>
  
  <p>Both give me same error: Error converting data type varchar to uniqueidentifier. </p>