It is a set of precompiled SQL statements that are used to perform a particular task. A procedure has a name, a parameter list, and SQL statement, etc. It will help in reduce network traffic and increase the performance.


CREATE PROCEDURE simple_function
    SELECT first_name, last_name
    FROM employee;

EXEC simple_function;

Suggest An Answer