A procedure may refer to any of the following:
1. In computer programming, a procedure is a set of coded instructions that tell a computer how to run a program or calculation. Many different types of programming languages can be used to build a procedure. Depending on the programming language, a procedure may also be called a subroutine, subprogram or function.
2. In database programming, a stored procedure is a set of programming code (like PL/SQL) that executes a specific query or function. This stored procedure is often used to execute one or more series of commands, search for, insert, update or delete data in a database.