In Oracle, the closest thing we have to a
program is a
script. Scripts can contain:
* SQL statements
* anonymous blocks of PL/SQL code
* package definitions
* function definitions
* procedure definitions
* et cetera
So, in the Oracle World, if you have a
function definition, then other scripts, procedures, packages and functions can call that function only if it appears in either a:
* package header and body, or
* user-defined function (as I have specified, above).
Let us know if this answers your question.
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services:
www.dasages.com]