Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: opposite of oracle decode
Adam Sandler wrote:
>>>Is there an encode function? Searching on that didn't help... is there >>>something the opposite of "decode"? >>> >>>P.S. This isn't my DB desgin. It is what I was given to work with. >>> >>>Thanks! >> >>er, DECODE?
You have been given the correct answer. You use DECODE in both directions. How much clearer could it be?
There is no way to avoid doing mapping during inserts unless you wish to write fragile code that will self-destruct the first time a table is modified.
-- Daniel A. Morgan http://www.psoug.org damorgan_at_x.washington.edu (replace x with u to respond)Received on Thu Oct 06 2005 - 08:52:02 CDT
![]() |
![]() |