title: How to calculate decimal(x, y) max value in SQL Server
body: <p>How do I know the maximum value of <code>decimal</code> type?</p>
  
  <p>For example:</p>
  
  <pre><code>decimal(5, 2)
  </code></pre>
  
  <p>Can you please explain the mechanism of <code>decimal</code> type?</p>