Click or drag to resize

WindowFunctions.PercentileDisc 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.10.0.0 (5.10.0)
Syntax
public static FunctionMappingExpression PercentileDisc(
	double numeric_literal,
	ISortClause orderbyClause
)

Parameters

numeric_literal
Type: System.Double
the percentile to compute
orderbyClause
Type: SD.LLBLGen.Pro.ORMSupportClasses.ISortClause
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