title: SQL Server Delete query execution timeout
body: <p>I have Statistic table with about 2 000 000 records and I need to delete record which are older than one month.</p>
  
  <p>While executing DELETE query below I get Time Out error. Can it be related with Indexes? I am not sure where is the problem and how to solve it.</p>
  
  <pre><code>DELETE FROM Statistic WHERE (DateStamp &lt; DATEADD(mm, -1, GETDATE()))
  </code></pre>
  
  <p>I am also adding execution plan</p>
  
  <p><img src="https://i.stack.imgur.com/wfh6k.png" alt="enter image description here"></p>
  
  <p>Image url: <a href="https://i.stack.imgur.com/wfh6k.png" rel="nofollow noreferrer">http://i.stack.imgur.com/wfh6k.png</a></p>