title: SQL Date Help Needed
body: <p>I have the following query</p>
  
  <pre><code>-- DELETE Current month and Month - 1 records from MonthlyTbl
   DELETE FROM dbo.tbl_SDW_MONTHLY_AS
   WHERE [Month Number] &gt; MONTH(GETDATE()) - 2
   AND [Year] = YEAR(GETDATE())
  </code></pre>
  
  <p>The query does not appear to be deleting the records from December 2013, can you help me fix this?</p>