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 -> Varbinary in Oracle

Varbinary in Oracle

From: FCA <marakaimbo_at_libero.it>
Date: Fri, 12 Mar 2004 12:54:15 +0100
Message-ID: <c2s8aa$20hmh7$1@ID-110320.news.uni-berlin.de>


Hello all!

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

Can anyone help me please.

Thanks. Received on Fri Mar 12 2004 - 05:54:15 CST

Original text of this message

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