日期:2014-05-17  浏览次数:20584 次

删除行时候提示0行受影响
delete from POP3 where username=null
我执行这跳语句。。数据库中有username为空的好多行。我想删除。。老是0行受影响。为什么啊?
触发器也没有。

------解决方案--------------------
delete from POP3 where username=null
修改为
delete from POP3 where username is null
------解决方案--------------------
null值是不能直接使用等号进行判断的