Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Unique key with capatilizing
Nicolas Bronke <NBronke_at_t-online.de> wrote in article
<72f34q$f5a$1_at_news00.btx.dtag.de>...
> Is it possible to create an unique index on a varchar2-column which
handles
> uppercases like lowercase?
>
> Example:
>
> It should not be possible to insert in that Column a value like Oracle,
> ORACLE, oracle.
> Only one of them shall be allowed (it does no matter which)
>
> Regards
> Nicolas Bronke
>
>
>
you can use triger
create or replace trigger zzz before insert on zzztbl
for each raw
begin
:new.collname:=upper(:new.collname)
end;
and you can insert any cases of OrAcLe but in table will be only ORACLE Received on Fri Nov 13 1998 - 05:30:26 CST