
Originally Posted by
krishnaindia2007
Overloading functions are two or more functions with the same name but different arguments. You can use the same name for different functions if their formal parameters differ in number, order, or data type. For example in oracle you can define two functions with the same name as follows ex:- create or replace function amount_to_words (p_amt in number) return varchar2 is
create or replace function amount_to_words(p_amt in number, p_currency in varchar2)
return varchar2 is
packages provide a method of encapsulating related procedures, functions, and associated cursors and variables together as a unit in the database.