sql server查詢語句條件是否爲NULL

要查詢C列爲空的記錄的SQL語句不是select * from table where c=null; 或者 select * from table where c=''; 而應當是 select * from table where c is null; 相反地要查詢不爲空的則應當是 select * from talbe where c<>''; 或者 select * from table
相關文章
相關標籤/搜索