Click or drag to resize

WindowFunctionsPercentileDisc Method

Creates a PERCENTILE_DISC(numeric_literal) WITHIN GROUP (ORDER BY orderbyClause) function call returning value of type System.Double.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static FunctionMappingExpression PercentileDisc(
	double numeric_literal,
	ISortClause orderbyClause
)

Parameters

numeric_literal
Type: SystemDouble
the percentile to compute
orderbyClause
Type: SD.LLBLGen.Pro.ORMSupportClassesISortClause
Specifies the ordering of the list of numeric values to compute the percentile over.

Return Value

Type: FunctionMappingExpression
Function mapping expression representing the function call
Remarks
Be sure to append an Over() clause to this function call. Orderby and window bounds aren't allowed in the Over clause for this function
See Also