aiaiDBA

加微信获取免费职业规划+学习资料,了解年薪50万的DBA是如何练成的

13718043309

010-86462881

PCC-02335: body of cursor must name statement identifier

PCC-02335: body of cursor must name statement identifier
Cause: In a Dynamic SQL Method 4 application, the DECLARE... CURSOR statement must name a statement identifier that has been PREPAREd in a preceding statement. The PREPARE statement must physically (not logically) precede the DECLARE command.
Action: This error message is followed by another message that gives the line and column of the reference to the statement. Recode the application.

请先 登录 后评论

1 个回答

小智
PCC-02335:游标主体必须命名语句标识符,
.原因:在动态SQL方法4应用程序中,DECLARE ... CURSOR语句必须在前面的语句中命名一个已经被PREPAREd的语句标识符。PREPARE语句必须在DECLARE命令之前实际(不是逻辑上)。,
.操作:此错误消息后面是另一个消息,给出了对该语句的引用的行和列。重新编译应用程序。,
.
请先 登录 后评论