Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseDdlTrigger.AnsiNullsStatus Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Matrix)]
public bool AnsiNullsStatus { get; set; }

Property Value

Type: Boolean
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.

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.

Community Additions

Show:
© 2015 Microsoft