Session setting to support indexed views

混江龙づ霸主 提交于 2019-12-06 14:12:45

According the documentation, you can set these settings on the Database level:

Database settings set by using ALTER DATABASE are valid only at the database level and take effect only if explicitly set. Database settings override instance option settings that are set by using sp_configure.

Did you try that?

Unfortunately, this properties can't be set in connection string, so use this sql:

ALTER DATABASE dbname SET ANSI_NULLS ON
-- etc
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!