Im looking for some way to remove interpunction in varchar2. Thats mean i want to get "Marian" from "Marián" and "Cernicky" from "Černický" Thanks for any help or suggestion Ondrej
Asked
Active
Viewed 69 times
1 Answers
1
with x as (
select 'Černický' name from dual union all
select 'Marián' from dual
)
select convert(name, 'US7ASCII')
from x;
will work for any name where there is an appropriate replacement character in the US7ASCII character set for the character in question. That's not necessarily the case for every possible character-- Õ and Ø, for example, would both be converted to a question mark (?). But this does work for both of your examples.

Justin Cave
- 227,342
- 24
- 367
- 384
-
And after all you coding page works on all characters with interpunction in my language (slovak) – ondro tadanai Feb 13 '13 at 21:44