From: Martijn Tonies Date: January 15 2008 9:33am Subject: Re: Did NOT condition on VARCHAR change with 5.0.45? List-Archive: http://lists.mysql.com/mysql/210819 Message-Id: <07f001c85759$a1c29950$9902a8c0@martijnws> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, >I am having a problem with MySQL 5.0.45 returning what I consider to be >unexpected results. > >Basically I am attempting the following query, and ALL records are being >returned. > >" SELECT * FROM `jos_products_orders` WHERE NOT `method` " For the uninformed, what should this do according to you? Martijn Tonies Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle & MS SQL Server Upscene Productions http://www.upscene.com My thoughts: http://blog.upscene.com/martijn/ Database development questions? Check the forum! http://www.databasedevelopmentforum.com