What are differences between function and stored procedure?

Printable View