Question d’entretien chez Global Blue

What are the difference between stored procedure and function?