what does “delete from table where NULL = NULL” means?

前端 未结 8 1481
抹茶落季
抹茶落季 2021-02-18 12:35

What does delete from table where NULL = NULL mean?

相关标签:
8条回答
  • 2021-02-18 13:32

    It punishes people who have ANSI_NULLS set to off in their database :)

    0 讨论(0)
  • 2021-02-18 13:33

    Since NULL does not equal NULL, this statement will do nothing. It equals:

    DELETE FROM TABLE WHERE 0
    
    0 讨论(0)
提交回复
热议问题