In SQL Server, what does “SET ANSI_NULLS ON” mean?

前端 未结 7 2268
执念已碎
执念已碎 2020-11-27 13:22

The definition says:

When SET ANSI_NULLS is ON, a SELECT statement that uses WHERE column_name = NULL returns zero rows even if there are null values

7条回答
  •  忘掉有多难
    2020-11-27 14:17

    SET ANSI_NULLS ON

    IT Returns all values including null values in the table

    SET ANSI_NULLS off

    it Ends when columns contains null values

提交回复
热议问题