Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

help for analysis function in PRO*C

652398Sep 24 2009 — edited Feb 25 2010
In a PRO*C code, I wrote the following parts including an analysis function:
xec sql select a, b, max(c) over ( partition by a)
into ...
from t1
but it gave me the error when compiling:

Syntax error at line 63, column 35, file test.pc:
......
PCC-S-02201, Encountered the symbol "(" when expecting one of the following:

, into, from,

Error at line 0, column 0 in file SM_PageDel.pc
PCC-F-02102, Fatal error while doing C preprocessing


This SQL is all right when putting it into sqlplus. My question is : in PRO*C, it doesn't allow to use analysis function?
I'm very hurry for this question. Please help me if you know. Thanks in advanced!

My msn: bisal1130@yahoo.com.cn
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2010
Added on Sep 24 2009
5 comments
5,199 views