Udostępnij za pośrednictwem


Table.AnsiNullsStatus Property

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

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

Syntax

'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property AnsiNullsStatus As Boolean
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)] 
public bool AnsiNullsStatus { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
virtual property bool AnsiNullsStatus {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_AnsiNullsStatus ()

/** @property */
public final void set_AnsiNullsStatus (boolean value)
public final function get AnsiNullsStatus () : boolean

public final function set AnsiNullsStatus (value : boolean)

Property Value

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

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.