Set options
Set options lists the SET options that were current as of compile time. These options determine the handling of specific information and may be different at runtime because they are based on the current session. The options tracked are ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, NUMERIC_ROUNDABORT, and QUOTED_IDENTIFIER. These SET options affect estimations and query results, which means that if one option is changed inside of a batch, a recompilation must happen. Keep these options in mind when analyzing a query that may meet the expected performance in a development or pre-production system but performs poorly in a production system.
For example, ANSI_NULLS specifies the ISO-compliant behavior ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access