title: How to loop in Sql Server and update a certain column?
body: <p>I have records in my Sql Server 2008 table, I need to update the field TranTime. 
  How can I do it using a loop? Evey iteration should insert/update a unique time.</p>
  
  <p>I don't know the syntax/approach. Any help would be appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/hQsdV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hQsdV.png" alt="enter image description here"></a></p>