Differences between “IS NULL” and “ISNULL()” in Mysql

后端 未结 2 1456
死守一世寂寞
死守一世寂寞 2021-01-04 00:37

Is there any difference in performance between the operator IS NULL and the function ISNULL()?

2条回答
  •  無奈伤痛
    2021-01-04 01:03

    Looking into the MySQL manual, they seem to be synonyms really.

    • MySQL manual on IS NULL

    • MySQL manual on ISNULL()

    and even if they aren't, I would tend to trust the query optimizer to pick the best solution.

提交回复
热议问题