StoredProcedure.AnsiNullsStatus StoredProcedure.AnsiNullsStatus StoredProcedure.AnsiNullsStatus Property


Gets the Boolean property value that specifies whether ISO NULL handling is enabled in the stored procedure.

 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 | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Design)]
public bool AnsiNullsStatus { get; set; }
Public Property AnsiNullsStatus As Boolean
Property Value

A Boolean value that specifies the whether the ISO NULL handing is enabled or not.

If True, comparisons to null values equates to false.

If False (default), comparisons to null values equates to true.


Creating, Altering, and Removing Stored Procedures


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

Applies to