From: Jan Steinman Date: October 10 2002 4:45pm Subject: Re: NULL sometimes joins to NULL List-Archive: http://lists.mysql.com/mysql/121851 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" >From: jfield@stripped > >After adding a key to a nullable column, null values will >successfully join through to null values in other tables. And this is a problem because? :-) Seriously, it may be a bug, but IMHO it is a design flaw to index a NULL field. Indexed fields should always be NOT NULL, with the possible exception of FULLTEXT indeces. But if one DOES have NULLs in an indexed field, I'd fully expect them to match and join other NULLs. ---- SQL SQL SQL SQL SQL SQL SQL SQL SQL SQL ---- -- : Jan Steinman -- nature photography: : Bytesmiths -- artists' services: : Join the forums at