Pergunta de entrevista da empresa Teradata

difference between store procedure and cursor?