-
ANSI NULL Default
-
Specify the default behavior of the Equals (=) and Not Equal To (<>) comparison operators when used with null values. Possible values are True (on) and False (off). For more information, see SET ANSI_NULL_DFLT_ON (Transact-SQL) and SET ANSI_NULL_DFLT_OFF (Transact-SQL).
-
ANSI NULLS Enabled
-
Specify the behavior of the Equals (=) and Not Equal To (<>) comparison operators when used with null values. Possible values are True (on) and False (off). When True, all comparisons to a null value evaluate to UNKNOWN. When False, comparisons of non-UNICODE values to a null value evaluate to True if both values are NULL. For more information, see SET ANSI_NULLS (Transact-SQL).
-
ANSI Padding Enabled
-
Specify whether ANSI padding is on or off. Permissible values are True (on) and False (off). For more information, see SET ANSI_PADDING (Transact-SQL).
-
ANSI Warnings Enabled
-
Specify ISO standard behavior for several error conditions. When True, a warning message is generated if null values appear in aggregate functions (such as SUM, AVG, MAX, MIN, STDEV, STDEVP, VAR, VARP, or COUNT). When False, no warning is issued. For more information, see SET ANSI_WARNINGS (Transact-SQL).
-
Arithmetic Abort Enabled
-
Specify whether the database option for arithmetic abort is enabled or not. Possible values are True and False. When True, an overflow or divide-by-zero error causes the query or batch to terminate. If the error occurs in a transaction, the transaction is rolled back. When False, a warning message is displayed, but the query, batch, or transaction continues as if no error occurred. For more information, see SET ARITHABORT (Transact-SQL).
-
Concatenate Null Yields Null
-
Specify the behavior when null values are concatenated. When the property value is True, string + NULL returns NULL. When False, the result is string. For more information, see SET CONCAT_NULL_YIELDS_NULL (Transact-SQL).
-
Cross-database Ownership Chaining Enabled
-
This read-only value indicates if cross-database ownership chaining has been enabled. When True, the database can be the source or target of a cross-database ownership chain. Use the ALTER DATABASE statement to set this property.
-
Date Correlation Optimization Enabled
-
When True, SQL Server maintains correlation statistics between any two tables in the database that are linked by a FOREIGN KEY constraint and have datetime columns.
When False, correlation statistics are not maintained.
-
Numeric Round-Abort
-
Specify how the database handles rounding errors. Possible values are True and False. When True, an error is generated when loss of precision occurs in an expression. When False, losses of precision do not generate error messages, and the result is rounded to the precision of the column or variable storing the result. For more information, see SET NUMERIC_ROUNDABORT (Transact-SQL).
-
Parameterization
-
When SIMPLE, queries are parameterized based on the default behavior of the database. When FORCED, SQL Server parameterizes all queries in the database.
-
Quoted Identifiers Enabled
-
Specify whether SQL Server keywords can be used as identifiers (an object or variable name) if enclosed in quotation marks. Possible values are True and False. For more information, see SET QUOTED_IDENTIFIER (Transact-SQL).
-
Recursive Triggers Enabled
-
Specify whether triggers can be fired by other triggers. Possible values are True and False. When set to True, this enables recursive firing of triggers. When set to False, only direct recursion is prevented. To disable indirect recursion, set the nested triggers server option to 0 using sp_configure. For more information, see Create Nested Triggers.
-
Trustworthy
-
When displaying True, this read-only option indicates that SQL Server allows access to resources outside the database under an impersonation context established within the database. Impersonation contexts can be established within the database using the EXECUTE AS user statement or the EXECUTE AS clause on database modules.
To have access, the owner of the database also needs to have the AUTHENTICATE SERVER permission at the server level.
This property also allows the creation and execution of unsafe and external access assemblies within the database. In addition to setting this property to True, the owner of the database must have the EXTERNAL ACCESS ASSEMBLY or UNSAFE ASSEMBLY permission at the server level.
By default, all user databases and all system databases (with the exception of MSDB) have this property set to False. The value cannot be changed for the model and tempdb databases.
TRUSTWORTHY is set to False whenever a database is attached to the server.
The recommended approach for accessing resources outside the database under an impersonation context is to use certificates and signatures as apposed to the Trustworthy option.
To set this property, use the ALTER DATABASE statement.
-
VarDecimal Storage Format Enabled
-
This option is read-only starting with SQL Server 2008. When True, this database is enabled for the vardecimal storage format. Vardecimal storage format cannot be disabled while any tables in the database are using it. In SQL Server 2008 and later versions, all databases are enabled for the vardecimal storage format. This option uses sp_db_vardecimal_storage_format.