Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在应用程序中设置“SET NOCOUNT ON”总是有利于应用程序的性能。但是我如何以更好的方式在我的 vb.net 应用程序中设置它。是否可以在连接字符串中设置它?有没有最好的方法来做到这一点?每次设置都会有问题,或者可能会错过它。
In SQL Server Management Studio right click on server node: Properties -> Connections -> Default connection options. Tick no count.
Properties -> Connections -> Default connection options
no count