title: What's the differences between stored procedures, functions and routines?
body: <p>In MySQL database context, what is the difference among these 3 terms:</p>
  
  <ul>
  <li><em>stored procedure</em></li>
  <li><em>stored function</em></li>
  <li><em>stored routine</em></li>
  </ul>
  
  <p>Also the build-in functions like those date time functions (e.g. <code>WEEKDAY()</code> etc) are considered as what?</p>