SQL Server 2012 Read Only Connection

旧街凉风 提交于 2020-07-30 02:43:12

问题


How can I setup a read only connection to sql server 2012 without the need to create a read only user?


回答1:


Connection String property ApplicationIntent

From the docs:

Declares the application workload type when connecting to a server. Possible values are ReadOnly and ReadWrite. For example:

ApplicationIntent=ReadOnly


来源:https://stackoverflow.com/questions/14883380/sql-server-2012-read-only-connection

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