Wrong Result Using The PERCENTILE_DISC Function Whose Order By Clause Uses A VARCHAR2 Column
Last updated on FEBRUARY 17, 2016
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
when trying to use the PERCENTILE_DISC function in its aggregate form, but the result shows "?" if we use a VARCHAR2 column for the order by clause inside the WITHIN GROUP clause.
Using a NUMBER column instead of a VARCHAR2 column for the order by clause provides the correct result.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms