Gouache painting of narrow boats waiting in a canal lock with a vermilion lever on the lock gate

How to Set ARITHABORT ON for .NET Applications

A query that runs fast in Management Studio and slow in a .NET application often runs under two different plans, because the two connections use different ARITHABORT settings. This post shows both plans in the plan cache, measures the cost, and explains how to set ARITHABORT ON for all connections through the server’s default connection options.

Read More