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

Home -> Community -> Usenet -> c.d.o.misc -> Identify invalid characters in table.

Identify invalid characters in table.

From: t538449 <kenneth.osenbroch_at_telenor.com>
Date: Fri, 15 Jun 2007 01:15:54 -0700
Message-ID: <1181895354.617273.247850@k79g2000hse.googlegroups.com>


Hi,

I am trying to identify invalid characters in a table. The valid characters are stored within a table which the table I want to find invalid characters are matched upon. The table pub_symbol consists of all valid characters (chr(value)), while the table address is the table I want to check. This is what I have so far:

select addrsurname from address minus select a.addrsurname from address a, pub_symbol p where instr(a.addrsurname, p.pub_symbol)<>0;

This (I hope) will give me all addrsurname which contain any characters not listed in pub_symbol. Does anyone have any propositions on how to optimize this,- or another way of achieving the result on?

Thanks,
Kenneth Received on Fri Jun 15 2007 - 03:15:54 CDT

Original text of this message

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