Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can we have a function Overloading with same number of
arguments but with different return types of function

Answer Posted / ajay

Yes, it is possible here are the examples

create or replace function funbool(b varchar2)
return boolean
as
begin
If b is not null then
return true;
else
return false;
end if;
end;

create or replace function funbool(b varchar2)
return number
is
begin
if b is null then
Dbms_output.put_line( 'false');
else
Dbms_output.put_line( 'true');
end if;
Return b;
end;

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the disadvantages of views in a database?

992


What is the difference between specialization and generalization?

967


can we delete autodiff back up that we have set through sql server agent.

2145


How do I setup a database connection?

956


Is data lake a database?

917


What is table scan and index scan?

1069


What is redis good for?

915


What is a driver in database?

1069


Can we use redis as database?

938


How do you connect to a database?

1050


can u combine pipeline parallelism and partition parallalism? how and whan?

2270


Why do we need distributed database?

937


Which three commands cause a transaction to end?

1003


What is the difference between oracle and MS Access?

1019


Display the employees whose salary is less than average salary.

1010