InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Réf . : Re: InstantDB : SELECT DISTINCT and NULL


Thanks Christian

That sounds like a convincing argument for changing InstantDB.

Pete
-----Original Message-----
From: cpennaforte@chu-reims.fr <cpennaforte@chu-reims.fr>
To: instantDB@enhydra.org <instantDB@enhydra.org>
Date: 26 July 2000 08:57
Subject: InstantDB: Réf . : Re: InstantDB : SELECT DISTINCT and NULL


>
>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.