Hello,
>As an example of what's going on:
>
>create table tmp (id int, colname int)
>insert into tmp values (1, 1)
>insert into tmp values (2, null)
>insert into tmp values (2, null)
>SELECT DISTINCT colname FROM tmp WHERE colname IS NULL
>
>produces:
>
>colname
>NULL
>NULL
>
>The question is, should the above produce one or two rows of output?
I've just installed Interbase 6.0 on Windows NT 4 and I tried your code ;
it produces ONE line :
If I execute SELECT DISTINCT colname FROM tmp WHERE colname IS NULL
the result is :
colname
NULL
but if I execute SELECT colname FROM tmp WHERE colname IS NULL
the result is :
colname
NULL
NULL
I hope this helps a little...
Regards,
--------------------------------------------
Christian PENNAFORTE
CRIH Champagne-Ardenne
--------------------------------------------
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|