Subject | Re: [firebird-support] unique index problem: 'emails' table |
---|---|
Author | Helen Borrie |
Post date | 2003-11-23T12:37:41Z |
At 07:07 PM 23/11/2003 +0700, you wrote:
two distinct columns. So you will have:
Local Host
ab c (a unique combination)
a bc (another unique combination)
heLen
>Helen Borrie wrote:No, you are mistaken. The index does *not* get concatenated: it stays as
> > 1) the "@" symbol makes absolutely no difference to the uniqueness of your
> > local + host combination.
>
>Yes it does. Try local="ab", host="c" vs. local="a", host="bc". The
>second will be incorrectly rejected by the UNIQUE(local,host) constraint
>but correctly accepted by UNIQUE(local,ampersand,host).
two distinct columns. So you will have:
Local Host
ab c (a unique combination)
a bc (another unique combination)
heLen