title: How do I identify a blank uniqueidentifier in SQL Server 2005?
body: <p>I'm getting a <code>uniqueidentifier</code> into a Stored Procedure that looks like this </p>
  
  <p><code>00000000-0000-0000-0000-000000000000</code>.</p>
  
  <p>This seems like a simple thing, but how can identify that this is a blank <code>uniqueidentifier</code>? </p>
  
  <p>If I get a value like this <code>DDB72E0C-FC43-4C34-A924-741445153021</code> I want to do X</p>
  
  <p>If I get a value like this <code>00000000-0000-0000-0000-000000000000</code> I do Y</p>
  
  <p>Is there a more elegant way then counting up the zeros? </p>
  
  <p>Thanks in advance</p>