The problem is that I don't want more than one row in the table that has
a null value in the column. As you've pointed out in your e-mail,
there's a difference between NULL and BLANK. It's not that I don't want
NULL values, it's that I don't want MORE THAN ONE.
MEI Technology Consulting, Inc
(516) 379-0001 Office
(516) 480-1870 Mobile/Emergencies
(516) 908-4185 Fax
From: Martijn Tonies [mailto:m.tonies@stripped]
Sent: Wednesday, February 23, 2005 8:37 AM
To: Gustafson, Tim; Paul DuBois; mysql@stripped
Subject: Re: UNIQUE Key Allowing Duplicate NULL Values
> Oh well, thanks anyhow.
> If I could put in a feature suggestion, it would be a flag that I
> set to disallow duplicate nulls. :)
NULL is not equal to NULL. Period.
If you don't want NULLs, make the column "not null".
The specification is correct.
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS
Attachment: [application/x-pkcs7-signature] smime.p7s