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: How to find International Characters in a column?

Re: How to find International Characters in a column?

From: Lothar Armbrüster <lothar.armbruester_at_t-online.de>
Date: Sun, 19 Nov 2006 22:20:20 +0100
Message-ID: <87ac2ni163.fsf@prometeus.none.local>


"Chocks" <chocks.k_at_gmail.com> writes:

> Hey ,
>
> We are using Oracle 9i DB . I have to find out the records which are
> having International characters in a given column. I read we can use
> reg_exp in Oracle 10g.
> Whether it is possible to find out this using PL/SQL . If any body
> could help me on this ?
>
> Thanks in advance
> Chocks.k.
>

You could do some translate magic like this:

select * from your_table
where

   translate(your_column,'*0123456789','*') is not null;

this on selects all rows that have your_column contain not only digits. You could similarly translate all wanted characters to null and see if there is a remainder.

Hope that helps,
Lothar

-- 
Lothar Armbrüster  | lothar.armbruester_at_t-online.de
Hauptstr. 26       |
65346 Eltville     |
Received on Sun Nov 19 2006 - 15:20:20 CST

Original text of this message

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