> I have a similar question. How do you test if the field in question > isn't NULL or '' (empty string)? Is the LENGTH a good test or is > there a better way?
WHERE myfield IS NOT NULL -- Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL Server Upscene Productions http://www.upscene.com Database development questions? Check the forum! http://www.databasedevelopmentforum.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]