How to fix the Oracle error PCC-02307: void can only be used when single parameter?
In this post, you’ll learn more about the Oracle ErrorPCC-02307: void can only be used when single parameter with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCC-02307: void can only be used when single parameter
Reason for the Error PCC-02307: void can only be used when single parameter
Cause: A function can be declared or defined using the following syntax: int func1(void) to indicate that the function has no parameters. void can be used only once in this case.
How to fix the Error PCC-02307: void can only be used when single parameter ?
You can fix this error in Oracle by following the below steps
Action: Remove the extra voids in the function definition or declaration.
Leave Your Comment