DECODE [message #95922] |
Fri, 25 June 2004 01:22 |
Bhavesh
Messages: 7 Registered: July 2001
|
Junior Member |
|
|
Explain me clearly DECODE function
|
|
|
Re: DECODE [message #96042 is a reply to message #95922] |
Sat, 31 July 2004 05:04 |
Amitava Chakrabarty
Messages: 2 Registered: July 2004
|
Junior Member |
|
|
hi bhavesh,
1.the function decode can be used only in SQL query, cannot be used independently.
2.the function looks like this::
decode(variable,arg1,arg2)
IF the value of the variable is not arg1 then take as arg2.
this was the simpliest example of decode function.
|
|
|
|
|