title: SQL Server Trigger update column value
body: <p>i need an example of basic sql trigger, now i explain:</p>
  
  <p>I Have a table with 5 columns(column1, power, column3, column4, times)</p>
  
  <p>the value of "power" change in real time (Are numbers), and his datatype is 'real'
  while the datatype of "times" is 'int'</p>
  
  <p>i would a trigger that everytime "power" go to 0 'times' increase by 1</p>
  
  <p>sorry if my english isn't perfect! and hope you understood what i mean!if something isn't clear tell me and i will try to explain better! :)</p>