title: How do I automate the running of a SQL query?
body: <p>What should i research in order to accomplish this task?</p>
  
  <p>I am using MS-SQL &amp; VB.Net</p>
  
  <p>I have a SQL table that stores <code>startdate</code> and <code>enddate</code>. I want to run a query on that table every 10 minutes in order to check if the <code>enddate</code> is greater than today and if it is I would like to add a 1 to another column if it is not I would like to add a 0. </p>
  
  <p>How can I achieve this?</p>