Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

This function works on 8i? PERCENTILE_CONT

Status
Not open for further replies.

isonlyme

Programmer
Apr 20, 2002
171
PR
Hi All

does this function works on 8i PERCENTILE_CONT?

I have this error when running

SELECT BR,
ACCT_PROD,
AVG_BOOK_BAL,
PERCENTILE_CONT(0.5) WITHIN GROUP
(ORDER BY (AVG_BOOK_BAL)) OVER (PARTITION BY (BR))
FROM IATMDC
WHERE DATA_SRC_CD IN ('IM','ST')
AND AS_OF_DT = to_date('01-31-2005', 'mm-dd-yyyy')
AND BR IN (11,13)
AND ACCT_PROD = '021'
GROUP BY BR,
ACCT_PROD

PERCENTILE_CONT(0.5) WITHIN GROUP
*
ERROR at line 4:
ORA-00923: FROM keyword not found where expected


Thanks in advance!!!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top