删除行时候提示0行受影响
delete from POP3 where username=null
我执行这跳语句。。数据库中有username为空的好多行。我想删除。。老是0行受影响。为什么啊?
触发器也没有。
[解决办法]
delete from POP3 where username=null
修改为
delete from POP3 where username is null
[解决办法]
null值是不能直接使用等号进行判断的