Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

View.AnsiNullsStatus Property

Gets the Boolean property value that specifies whether ISO NULL handling is enabled on the view.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool AnsiNullsStatus { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies the whether the ISO NULL handing is enabled or not.
If True, comparisons to null values equate to false.
If False (default), comparisons to null values equate to true.

Implements

IViewOptions.AnsiNullsStatus

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 non-null values in column_name.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.