SET ARITHIGNORE
whether overflow/divide-by-zero messages are returned
What changes
- Input
- none
- Output or change
- session state
Syntax at a glance
SET ARITHIGNORE { ON | OFF }
Work example
A session or module needs the behavior controlled by SET ARITHIGNORE for a stated reason.
Check when SQL Server reads the option, its scope, and how a reused connection is reset. Change one setting at a time in a test session.
Check your work SET ARITHIGNORE. The statement is affected by SET ARITHIGNORE as intended and the setting does not leak into the next session task.
Open Microsoft Learn for full syntax, permissions, and details for your version.