Pergunta de entrevista da empresa Datamatics Global Services

What is difference between stored procedure and stored function?