Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Find text with accents ou without and different charsets

muttleychessDec 8 2017 — edited Dec 15 2017

Hi

How can I find string regardless of whether it has accents or not, or if the charset of another bank is different

WITH myTABLE AS (

    select 'abóbora' str1 from dual union all

    select 'xícara' from dual union all

    select 'como parametros textos, este texto não' from dual )

  select   * from mytable  t

  where t.str1 in ('abobora','xicara','como parametros textos, este texto não')

regardless of having an accent, or charset being different I would like you to find the text searched

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

PL/SQL Release 11.2.0.4.0 - Production

CORE    11.2.0.4.0    Production

TNS for Linux: Version 11.2.0.4.0 - Production

NLSRTL Version 11.2.0.4.0 - Production

This post has been answered by Etbin on Dec 8 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 5 2018
Added on Dec 8 2017
6 comments
2,859 views