Mark,
you should look at replace() function ... not translate ...
Raj
-------------------------------------------------------------
Rajendra dot Jamadagni at espn dot com
Any views expressed here are strictly personal.
QOTD: Any clod can have facts, having an opinion is an art !!
-----Original Message-----
From: Mark Richard [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 17, 2003 12:40 AM
To: Multiple recipients of list ORACLE-L
Subject: Comparing strings whilst ignoring some characters
Hi Everyone,
I have a common problem and whilst I can remember solving it in the past
I'm drawing a mental blank this time...
I need to look for duplicates in a varchar2 field in a table. However I
should ignore case, whitespace and non-alphanumeric characters. Obviously
upper, rtrim and ltrim get me a long way to the solution, but... What is
the easiest way to remove inline space, so that "the cat" equals "thecat".
I thought I used the translate function, but a quick inspection didn't
reveal how.
Thanks in advance,
Mark.
*********************************************************************This e-mail message is confidential, intended only for the named recipient(s) above and may contain information that is privileged, attorney work product or exempt from disclosure under applicable law. If you have received this message in error, or are not the named recipient(s), please immediately notify corporate MIS at (860) 766-2000 and delete this e-mail message from your computer, Thank you.*********************************************************************1
