ConcatenateNullYieldsNull Property
Collapse the table of content
Expand the table of content

Database.ConcatenateNullYieldsNull Property


Gets or sets a value that specifies whether the CONCAT_NULL_YIELDS_NULL database option is active.

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

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

Property Value

Type: System.Boolean

A Boolean that specifies whether the ConcatenateNullYieldsNull database option is active. If True, the concatenated result is NULL. If False (default), the value is concatenated with a zero string.

This property specifies whether a value that is concatenated with a null value results in a null value or in a zero string.

Return to top
© 2015 Microsoft