user options Option
Use the user options option to specify global defaults for all users. A list of default query processing options is established for the duration of a user's work session. The user options option allows you to change the default values of the SET options (if the server's default settings are not appropriate). A user can override these defaults by using the SET statement. You can configure user options dynamically for new logins. After you change the setting of user options, new login sessions use the new setting; current login sessions are not affected.
Controls interim or deferred constraint checking.
For dblib network library connections, controls whether a transaction is started implicitly when a statement is executed. The IMPLICIT_TRANSACTIONS setting has no effect on ODBC or OLEDB connections.
Controls behavior of cursors after a commit operation has been performed.
Controls truncation and NULL in aggregate warnings.
Controls padding of fixed-length variables.
Controls NULL handling when using equality operators.
Terminates a query when an overflow or divide-by-zero error occurs during query execution.
Returns NULL when an overflow or divide-by-zero error occurs during a query.
Differentiates between single and double quotation marks when evaluating an expression.
Turns off the message returned at the end of each statement that states how many rows were affected.
Alters the session's behavior to use ANSI compatibility for nullability. New columns defined without explicit nullability are defined to allow nulls.
Alters the session's behavior not to use ANSI compatibility for nullability. New columns defined without explicit nullability do not allow nulls.
Returns NULL when concatenating a NULL value with a string.
Generates an error when a loss of precision occurs in an expression.
Rolls back a transaction if a Transact-SQL statement raises a run-time error.
Not all configuration values for user options are compatible with each other. For example, ANSI_NULL_DFLT_ON and ANSI_NULL_DFLT_OFF cannot be set at the same time.
The bit positions in user options are identical to those in @@OPTIONS. Each connection has its own @@OPTIONS function, which represents the configuration environment. When logging in to Microsoft SQL Server, a user receives a default environment that assigns the current user options value to @@OPTIONS. Executing SET statements for user options affects the corresponding value in the session's @@OPTIONS function.
All connections created after this setting is changed receive the new value.