Make your own free website on Tripod.com

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]

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


Just an FYI, I executed the same script on Oracle 8i and the distinct select
also return only one row.

-----Original Message-----
From: Peter Hearty [mailto:peter.hearty@lutris.com]
Sent: Wednesday, July 26, 2000 6:23 AM
To: instantDB@enhydra.org
Subject: 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.
-----------------------------------------------------------------------------
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.