A procedure or function that resides and executes in the Oracle database server.