title: SQL Server Delete rows when timestamp is older than 1 month
body: <p>I am trying to delete rows when timestamp is older than 1 month in SQL Server.</p>
  
  <p>What I got so far is:</p>
  
  <pre><code>DELETE FROM myTable WHERE DATEDIFF(month,getdate(),myColumn) &lt; -1
  </code></pre>
  
  <p>This is not deleting anything from my table although it should. What is wrong with this query/is there a better way of writing this query?</p>
  
  <p>Thanks in advance,</p>