The concept of overloading in PL/SQL relates to the
idea that you can define procedures and functions with the same name. PL/SQL
does not look only at the referenced name, however, to resolve a procedure or
function call. The count and data types of formal parameters are also
considered.
PL/SQL also attempts to resolve any procedure or
function calls in locally defined packages before looking at globally defined
packages or internal functions. To further ensure calling the proper procedure,
you can use the dot notation. Prefacing a procedure or function name with the
package name fully qualifies any procedure or function reference.
No comments:
Post a Comment