C语言函数错误分析,Pro*C中嵌入分析函数编译不通过的问题

谢谢bell6248!我正在try你的方法。

不过,我在metalink里面查了一下,这个确实属于bug:

Bug No. 1419472

Filed 28-SEP-2000 Updated 22-SEP-2006

Product Precompilers Product Version  8.1.6

Platform Solaris Operating System (SPARC 64-bit) Platform Version No Data

Database Version 8.1.6 Affects Platforms  Generic

Severity  Minimal Loss of Service Status To Filer for Review

Base Bug 2296107 Fixed in Product Version 11.1

Problem statement:

PCC-S-2201 ON EXEC SQL SELECT WITH RANK OVER PARTITION

Pro*C/C++: Release 8.1.7.0.0 - Production on Thu Sep 28 11:51:09 2000 . . System default option values taken from: /vobs/oracle/precomp/admin/pcscfg.cfg . Syntax error at line 86, column 25, file test.pc: Error at line 86, column 25 in file test.pc             RANK() OVER (PARTITION BY deptno ORDER BY sal DESC, comm) as rk ........................1 PCC-S-02201, Encountered the symbol "(" when expecting one of the following: .    , into, from, . Error at line 0, column 0 in file test.pc . =======================================================================

. V8.2  LABEL=PRECOMP_MAIN_SOLARIS_000831 . . Pro*C/C++: Release 8.2.0.0.0 - Production on Thu Sep 28 11:58:13 2000 . . System default option values taken from: /vobs/oracle/precomp/admin/pcscfg.cfg . Syntax error at line 86, column 25, file test.pc: Error at line 86, column 25 in file test.pc             RANK() OVER (PARTITION BY deptno ORDER BY sal DESC, comm) as rk ........................1 PCC-S-02201, Encountered the symbol "(" when expecting one of the following: .    , into, from, . Error at line 0, column 0 in file test.pc PCC-F-02102, Fatal error while doing C preprocessing

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值