Difference between NULL and Blank Value in Mysql

前端 未结 4 1578
轮回少年
轮回少年 2020-12-17 00:16

I have to check for a value of a particular Column named RESULT is blank or not.

When I check with if RESULT IS NULL, the query failed, bu

4条回答
  •  孤城傲影
    2020-12-17 00:56

    Adding to @ricky, NULL can never equal NULL, but an empty string is always equal to an empty string. That's a huge difference when you are trying to match records.

提交回复
热议问题