Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Varbinary in Oracle

Re: Varbinary in Oracle

From: Noel <tbal_at_go2.pl>
Date: Fri, 12 Mar 2004 14:16:52 -0000
Message-ID: <c2sd0a$7ob$1@inews.gazeta.pl>

> How can in Oracle convert a varbinary (0xCC) in decimal where cc is an
> HEX???
>
> 1)VARBINARY --> 0xCC
>
> 2)I would like to convert cc(HEX) in the corrispondent decimal value=204
>
> In Sybase I use this kind of syntax:
> select convert(tinyint, substring(0xcc, 1 ,1))
> The output is:
> 204

select to_number('CC','XX') from dual;

--
Noel
Received on Fri Mar 12 2004 - 08:16:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US