查找某一字段为空的记录?该怎么解决
查找某一字段为空的记录?
条件写成:
where x = null
数据库中明明有记录,就是找不到!
------解决方案--------------------
where x is null
------解决方案--------------------
is null
------解决方案--------------------
用IS
------解决方案--------------------
where x is null
update 表 set X=null
条件写成:
where x = null
数据库中明明有记录,就是找不到!
------解决方案--------------------
where x is null
------解决方案--------------------
is null
------解决方案--------------------
用IS
------解决方案--------------------
where x is null
update 表 set X=null