如果使用UPDATE,将字段更新成null,空值

解决方案 »

  1.   

    update tb set col=Null where ....
      

  2.   


    update [tb] set [col]='Null' where ....
      

  3.   


    update [tb] set [col]='' where ....
      

  4.   

    更新成NULL,如果利用select * from * where Font is null,是查不出来的,NULL和数据库里的NULL有区别;
      

  5.   

    update 表 set COL='NULL' WHERE COL1=1
    update 表 set COL =NULL  WHERE COL1=1
      

  6.   

    Update tbDept set fincount=null where fid=9

    Update tbDept set fincount isnull where fid=9
    你自己测试一下就知道答案了,估计这家伙很懒!