While working
on an ERP implementation project, there is a very high chance that you might
require to create custom pl/sql packages to meet business requirements. Through
the below (and subsequent posts) I’d try and explain how to create a simple
pl/sql package
Package is a schema object that groups logically
related PL/SQL types, variables, and subprograms. Packages usually have two
parts, a specification ("spec") and a body. Spec is the interface to
the package. It declares the types, variables, constants, exceptions, cursors,
and subprograms that can be referenced from outside the package. The body
defines the queries for the cursors and the code for the subprograms.