aiaiDBA

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

13718043309

010-86462881

PCC-02310: formal parameter VARCHARs should be declared as pointers

PCC-02310: formal parameter VARCHARs should be declared as pointers
Cause: Many C compilers allow structures to be passed to and returned from functions. Although a VARCHAR is implemented as a C struct, VARCHARs must be passed to a function as pointers.
Action: Take the address of a VARCHAR when it is passed to a function. See the example in the section "Referencing VARCHAR Variables" in the Programmer's Guide to the Oracle Precompilers.

请先 登录 后评论

1 个回答

小智
PCC-02310:形式参数VARCHAR应该被声明为指针,
.原因:许多C编译器允许将结构传递给函数并从函数返回。虽然VARCHAR被实现为C结构体,但VARCHAR必须作为指针传递给函数。,
.操作:将VARCHAR的地址传递给一个函数。请参阅“Oracle编译器编程指南”中的“引用VARCHAR变量”一节中的示例。,
.
请先 登录 后评论