procedure

Schema object that consists of a set of SQL statements that are stored in the database and run as a unit to solve a specific problem or perform a set of related tasks