Hello,
I have a piece of my query in Oracle that generates discrete percentile:
...
PERCENTILE_DISC(0.9999) WITHIN GROUP(ORDER BY DURATION_COUNT) as PERCENTILE_9999_QTY,
...
The data type of PERCENTILE_9999_QTY is Number(8)
it works fine except in some cases I get:
ORA-01438: value larger than specified precision allowed for this column
I prefer not to change the Number(8) data type. Is there a way to insure that the value fits into the Number(8) precision?
Thanks,
Tam