Change the ANSI_NULLS setting for all Stored Procedures in the Database

前端 未结 4 396
情书的邮戳
情书的邮戳 2021-01-13 06:21

We have some problems with the ANSI_NULLS setting and computed columns and we have a ton of stored procedures that have

SET ANSI_NULLS OFF

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-13 06:44

    Just wanted to throw a warning in there. I can't imagine why you had ansi_nulls set off for ALL your SPs but if any of them were counting on comparisons to NULL in any way (and there can be a lot of different ways that could happen) your results will different when you change that setting. I recommend some rigorous regression testing in a safe environment.

提交回复
热议问题