问题
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