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 アプリケーションでより良い方法で設定するにはどうすればよいでしょうか。接続文字列に設定することは可能ですか? それを行うための最良の方法はありますか?毎回設定すると問題が発生するか、それを見逃す可能性があります。
SQL Server Management Studio で、サーバー ノードを右クリックしますProperties -> Connections -> Default connection options。ティックno count.
Properties -> Connections -> Default connection options
no count