AggregatesTypes

ms133867.note(zh-tw,SQL.90).gif附註:
  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

Enumerates values for the AggregateFunction property.

Constant Description

aggCount

Uses the Count function for aggregation

aggDistinctCount

Uses the Distinct Count function for aggregation

aggMax

Uses the Max function for aggregation

aggMin

Uses the Min function for aggregation

aggSum

Uses the Sum function for aggregation