title: SQL Server and GUID?
body: <p>I am trying to run this code : </p>
  
  <pre><code>exec myStoredProcedure 
      Cast('c5b48202-36af-4597-9780-5366d4188f55' AS uniqueidentifier), 
      744, 
      1, 
      'test', 
      'Chrysanthemum.jpg', 
      '2012-03-26 16:22:17', 
      1, 
      28402, 
      null
  </code></pre>
  
  <p>But I get the following exception</p>
  
  <blockquote>
    <p>Msg 102, Level 15, State 1, Line 2<br>
    Incorrect syntax near 'c5b48202-36af-4597-9780-5366d4188f55'.</p>
  </blockquote>
  
  <p>Why? And how do I fix it?</p>