SqlUserDefinedAggregateAttribute.IsNullIfEmpty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the aggregate returns null
if no values have been accumulated.
public:
property bool IsNullIfEmpty { bool get(); void set(bool value); };
public bool IsNullIfEmpty { get; set; }
member this.IsNullIfEmpty : bool with get, set
Public Property IsNullIfEmpty As Boolean
Property Value
true
if the aggregate returns null
if no values have been accumulated; otherwise false
.
Remarks
Used by the query processor, this property is true
if the aggregate returns null
if no values have been accumulated.
Incorrectly setting this property can result in incorrect query results. This property is not an optimizer hint; it affects the plan selected and the results returned by the query.