Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: tab ascii value
This script prints the ascii table
whole.
May be usefull.
Bunyamin
set serveroutput on size 10240
declare
i number; j number; k number;
for j in 1..16 loop k:=i*16+j; dbms_output.put((to_char(k,'000'))||':'||chr(k)||' '); if k mod 8 = 0 then dbms_output.put_line(''); end if; end loop;
To: <A href="mailto:ORACLE-L_at_fatcity.com"
title=ORACLE-L_at_fatcity.com>Multiple recipients of list ORACLE-L
Sent: Thursday, August 30, 2001 5:25
AM
Subject: Re: tab ascii value
I'm not sure about the tab. I did the
following ('tab' is between the ' '):
SQL> select dump(' ') from dual;
DUMP('')----------------Typ=96 Len=1:32
> -----Original Message----- >
From: Tatireddy, Shrinivas (MED, Keane) > [<A
href="mailto:Shrinivas.Tatireddy_at_med.ge.com">mailto:Shrinivas.Tatireddy_at_med.ge.com]
> > how to find out the ascii
value of tab, new line > <FONT
size=2>> for new line it is 10 > for tab it is
9 > > but how to get
from the following statement. > <FONT
size=2>> select ascii(??????) from dual;
I don't remember if this has been answered already, but read
the documentation on the DUMP and CHR functions.
SQL> select dump ('A') from dual ;
DUMP('A') ----------------
![]() |
![]() |