About Packages

A package is a PL/SQL unit that consists of related subprograms and the declared cursors and variables that they use. Typically, you put your subprograms into packages.

Put your subprograms into packages for the following reasons:

Note: Oracle Database supplies many PL/SQL packages to extend database functionality and provide PL/SQL access to SQL features. You can use the supplied packages when creating your applications or for ideas in creating your own stored procedures. For information about these packages, see Oracle Database PL/SQL Packages and Types Reference.

See Also: