How to fix the Oracle error PLS-00306: wrong number or types of arguments in call to ‘string’?
In this post, you’ll learn more about the Oracle ErrorPLS-00306: wrong number or types of arguments in call to ‘string’ with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PLS-00306: wrong number or types of arguments in call to ‘string’
Reason for the Error PLS-00306: wrong number or types of arguments in call to ‘string’
This error occurs when the named subprogram call cannot be matched to any declaration for that subprogram name. The subprogram name might be misspelled, a parameter might have the wrong datatype, the declaration might be faulty, or the declaration might be placed incorrectly in the block structure. For example, this error occurs if the built-in square root function SQRT is called with a misspelled name or with a parameter of the wrong datatype.
How to fix the Error PLS-00306: wrong number or types of arguments in call to ‘string’ ?
You can fix this error in Oracle by following the below steps
Check the spelling and declaration of the subprogram name. Also confirm that its call is correct, its parameters are of the right datatype, and, if it is not a built-in function, that its declaration is placed correctly in the block structure.
Leave Your Comment