Re: How to make unique constrant on a column case-INsensitive in Oracle 9



"Genna" <gralko@xxxxxxxxx> wrote in
news:1129324111.358555.207850@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

> I have a task:
> set unique constraint on a table column but I don't care about case
> sensitivity. How to implement it? I know Oracle 10 has NLS_SORT=xxxx_CI
> setting with 'CI' suffix that is 'Case Insensitive' just to address the
> issue. But I need to solve this for Oracle 9.
> Thanks in advance.
> Genna.
>
>

Use either UPPER() or LOWER() functions in the WHERE clause
.



Relevant Pages

  • Re: question about bash-completion and gzip
    ... >> care about the file name's suffix. ... gzip doesn't ... then if there is a foo.gz and a foo in current directory, ...
    (Fedora)
  • Re: new to it all..little help
    ... In general Solaris utilities don't care about file suffixes. ... several suffixes or no suffix at all ... This is not the same as the DOS or Mac worlds, ...
    (comp.unix.solaris)
  • Re: Italian vs Turkish
    ... > I should define the suffix first. ... > You don't need any infix function. ... No need for a huge formulaic rewording for something so simple. ... I don't care if you want ...
    (sci.lang)