| Oracle Defined Function (DECODE) [message #643182] |
Thu, 01 October 2015 02:10  |
 |
adi_gang
Messages: 1 Registered: October 2015 Location: pune
|
Junior Member |
|
|
Dear Experts,
I have seen that the oracle defined function are written in SYS.STANDARD package. but when we use them in sql we dont use the standard.function_name / standard.procedure_name..
example
<Code>
select sys.standard.decode(10,10,-1) from dual;
</Code>
which throws an error...
but when we use
<Code>
select decode(10,10,-1) from dual;
</Code>
it will give the output as -1..
and we try to describe the decode it will throw an error saying object decode not found...
can any one please explain how this is happening in oracle...
regards,
aditya.
|
|
|
|
|
|