title: how to calculate number of days in year in sql server 2008
body: <p>I want to calculate the number of days in year in SQL server 2008 management studio.</p>
  
  <p>For Example:</p>
  
  <ul>
  <li>2016 : 366 </li>
  <li>2014 : 365</li>
  </ul>