Re: find any row with NULL

"Hal.sz S.ndor" <[email protected]>
Newsgroups gmane.comp.db.mysql.general
Organization the less, the better
Message-ID <[email protected]>
...
Now - would searching, saving/storing then removing NULL vs ALLbutNULL 
in a simple DB with one table wich has only primary key be sa
...

What is "removing NULL"? Deleting the record with NULL?
It has no bearing on the primary key, because NULL never is allowed in one.

It seems to me that really you want "NOT NULL" in many of your field 
declarations. If some field has no NULLs then "ALTER TABLE ... MODIFY 
... ... NOT NULL" will work, but if it has NULLs then (in strict mode) 
that will fail unless there is a default value. Are default values of 
any use to you?

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.