title: Converting seconds into HH:MM:SS format
body: <p>How to convert seconds(int) into <code>HH:MM:SS</code> format in SQL Server?</p>
  
  <p>e.g. 90 should output => 00:01:30</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I have two dates <code>START_DATE</code> AND <code>ENDDATE</code>.</p>
  
  <p>I want difference of these dates</p>
  
  <p>Also finally I want to sum up these differences in <code>HH:MM:SS</code> format</p>
  
  <p>FIDDLE: <a href="http://sqlfiddle.com/#!3/39c2b/1/0" rel="nofollow">http://sqlfiddle.com/#!3/39c2b/1/0</a></p>