DatabaseDdlTrigger.AnsiNullsStatus DatabaseDdlTrigger.AnsiNullsStatus DatabaseDdlTrigger.AnsiNullsStatus Property

Definition

Gets or sets the Boolean property value that specifies whether ISO NULL handling is enabled in the data definition language (DDL) trigger.

public:
 property bool AnsiNullsStatus { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase)]
public bool AnsiNullsStatus { get; set; }
Public Property AnsiNullsStatus As Boolean
Property Value

A Boolean value that specifies whether ISO NULL handling is enabled in the DDL trigger. ISO NULL handling requires that any comparison to a NULL value equates to a NULL value.

If True, ISO NULL handling is enabled and comparisons to null values equate to False.

If False (default), ISO NULL handling is disabled and comparisons to null values equate to True.

Examples

Setting Properties

Remarks

This property specifies whether any comparison to a null value equates to a NULL value. For example, A SELECT statement using WHERE column_name <> NULL returns zero rows even if there are nonnull values in column_name.

Applies to