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
What are the disadvantages of views in a database?
What is the difference between specialization and generalization?
can we delete autodiff back up that we have set through sql server agent.
How do I setup a database connection?
Is data lake a database?
What is table scan and index scan?
What is redis good for?
What is a driver in database?
Can we use redis as database?
How do you connect to a database?
can u combine pipeline parallelism and partition parallalism? how and whan?
Why do we need distributed database?
Which three commands cause a transaction to end?
What is the difference between oracle and MS Access?
Display the employees whose salary is less than average salary.