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 do you mean by database?

1140


sparse lookup and where its options we find in OCI and db2?

2260


How does non-cluster index functions?

1177


What are different types of blocks used in stored procedure?

1172


Does facebook use graph database?

1068


What is the function of cluster index?

1214


What is Object Oriented model?

1070


Explain transaction manager?

1118


how can you perform lookup range in lookup stage expalin in detail?

1972


how to configure oracle 10g in java1.5 and tell me know how to set class path in system?

2077


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

2374


What is the best database?

1033


What are the advantages of views in a database?

1215


how to send multiple records which matches all the condition in the lookup transformation ? (if lookup matches the codition for duplicate values)

2095


Explain artificial key?

1212