title: decimal to hex conversion in sql server 2008
body: <p>the hex value of <code>2716455883</code> is <code>A1E9D3CB</code> but using </p>
  
  <pre><code>SELECT CONVERT(VARBINARY(8), 2716455883) 
  </code></pre>
  
  <p>getting answer <code>0x0A000001CBD3E9A1</code></p>