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 -> upper bug?

upper bug?

From: Richard Kuhler <noone_at_nowhere.com>
Date: Wed, 15 May 2002 00:57:57 GMT
Message-ID: <poiE8.1404$DF2.385508@twister.socal.rr.com>


Why does the Oracle UPPER function convert ascii 128-255 into ascii 0-127?

> select ascii(upper(chr(128))) from dual;

ASCII(UPPER(CHR(128)))


                     0

> select ascii(upper(chr(180))) from dual;

ASCII(UPPER(CHR(180)))


                    52

> select ascii(upper(chr(255))) from dual;

ASCII(UPPER(CHR(255)))


                   127


Is there a way to fix this? Note: NLS_UPPER does the same thing.

Thanks,
Richard Received on Tue May 14 2002 - 19:57:57 CDT

Original text of this message

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