title: What is the difference between Stored Functions and Views in DB?
body: <p>I didn't undetstood the difference between <strong>Stored Functions</strong> and <strong>Views</strong>.
  Using <strong>Views</strong> in SELECT will execute the query and return the result, but <strong>Stored Functions</strong> do the same thing, don't they? So what is the difference? When I use <strong>Views</strong> and when <strong>Stored Functions</strong>?</p>