title: Delete from table in stored procedure - MySQL
body: <p>For some reason when I use the following code outside of a stored procedure:</p>
  
  <pre><code>SET SQL_SAFE_UPDATES=0;
  DELETE FROM Customers WHERE Date=date(now());
  </code></pre>
  
  <p>It works just fine.
  When I put this code in a stored procedure it doesn't delete from the table.
  Any ideas why this may happen?</p>