Whether the MSSQL query statement condition is NULL

The SQL statement to query the records whose C column is empty is not select * from table where c=null; or select * from table where c=''; but should be select * from table where c is null; on the contrary, the query is not Empty should be select * from talbe where c<>''; or select * from table where c is not null; Note: not is not null.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325896855&siteId=291194637