Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Unable to use Decode on RAW columns ?
DECODE do work on RAW, but you can't update a LONG RAW field like that.
Replacing LONG RAW with RAW(??) will work.
As I know for LONG RAW, you must bind a variable, with select, update or insert, using Pro*C or OCI.
Oracle suggestion, don't use LONG RAW, use BLOB or CLOB instead.
I am also looking for better solution to this, for some reason, I can't use LOB yet. If you get it, could you please forward it to me.
Mirza Mohsin Beg wrote:
> Can anyone explain what I am doing wrong below ?
>
> What could be the workaround since I need to do the same in Pro*C for
> some large binary strings.
>
> Thanks and please email me directly also.
>
> -M
>
> ---------------------------------------
>
> SQL> create table a_table (a_col long raw);
>
> Table created.
>
>
Received on Sat Jul 10 1999 - 13:51:23 CDT
![]() |
![]() |