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
Explain entity ?
5. Explain about relational algebra.
How do you pass parameter in stored procedure?
can we delete autodiff back up that we have set through sql server agent.
How do I manually create a database?
How to do Stored procedure testing? Who does this testing (Developer or tester)?
Is hive a database?
Which Statement would you use to remove the EMPLOYEE_Id_PK PRIMARY KEY constraint and all depending constraints from the EMPLOYEE table?
What does currency type mean in database?
What are the most common databases?
Differentiate between extension & intension?
What is the best database?
wHat Is THE difference between MOVEL and MOVEL(P)……….. CAN ANYONE EXPLAIN ME..
what is rcp,if rcp disabled what happen?
Explain entity type?