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

Home -> Community -> Mailing Lists -> Oracle-L -> octal form

octal form

From: Tatireddy, Shrinivas (MED, Keane) <Shrinivas.Tatireddy_at_med.ge.com>
Date: Wed, 29 Aug 2001 19:44:20 -0700
Message-ID: <F001.0037C6E0.20010829195024@fatcity.com>

HI lists

when I do select

select dump('k',1010) from dual (decimal)

i get 107 as the ascii value

to get an octal we substitute 1008
in the place of 1010 and the result is 153 for 'k'.

and    select chr(107) from dual     (decimal)
       value is ''k'  


if i use
select chr(153) from dual, giving some wrong value...

how do i convert this octal to decimal

srinivas
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Tatireddy, Shrinivas (MED, Keane)   INET: Shrinivas.Tatireddy_at_med.ge.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Aug 29 2001 - 21:44:20 CDT

Original text of this message

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