title: sql table cell modified by multiple threads at the same time
body: <p>if you have table <strong>BankAccount</strong> that has a column <strong>Amount</strong> and the value for this column for a specific row can be <strong>modified by multiple threads at the same time</strong> so it could happen so that the last one to set the value will win.</p>
  
  <p>how do you usually handle this kind of situations ?</p>
  
  <p><strong>UPDATE:</strong> I heard that in MSSQL there is update lock UPDLOCK that locks the table or the row that is being updated, could I this here somehow ?</p>