Subject RE: [firebird-support] Unique index NULL == NULL?
Author Dmitry Yemanov
Helen,

> >This seems to indicate to me that (1, NULL, NULL) <> (1, NULL,
> >NULL), because all segments are not non-null. Is that correct?
>
> It is supposed to be. However, a bug seems to have shown up.

Nope, that's incorrect. Two unique index keys are considered distinct if all
non-null segments are distinct. So (1, NULL, NULL) = (1, NULL, NULL), but
(NULL, NULL, NULL) <> (NULL, NULL, NULL).


Dmitry