如題,就是要查出庫中為空的欄位名。

解决方案 »

  1.   

    select * from tb where col is null
      

  2.   


    select * from tb where (col is null or col='')
      

  3.   

    select * from tb where isnull(col,'') = ''
      

  4.   

    悄悄的問下 COL是不是2005裡面才有的   我用的是2000
      

  5.   

    [code=SQL]select * from 表名 where 列名 is null[/code]
      

  6.   

    select * from 表名 where 列名 is null
      

  7.   

    select * from tb where col is null
      

  8.   

    select * from tb where col is null