Site icon IT Tutorial

PLS-00306: wrong number or types of arguments

Hi,

I got ” PLS-00306: wrong number or types of arguments ” error in PL/SQL.

 

 

PLS-00306: wrong number or types of arguments

 

Details of error are as follows.

ORA-06550: line 4, column 1:

PLS-00306: wrong number or types of arguments in call to 'PLC_MSD'

ORA-06550: line 4, column 1:

PL/SQL: Statement ignored

06550. 00000 -  "line %s, column %s:\n%s"

*Cause:    Usually a PL/SQL compilation error.



Cause: 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.


Action: 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.

 

 

PLS-00306

The PLS-00306: wrong number or types of arguments error is related with the named subprogram call cannot be matched to any declaration for that subprogram name

 

wrong number or types of arguments

To solve this error, Check the procedure name, the number of parameters, the types of the parameters, the parameter names and fix it if it is incorrect.

 

 

Do you want to learn Oracle SQL, then read the following articles.

Oracle SQL Tutorials For Beginners – Learn Oracle SQL from scratch with Oracle SQL Online Course

 

Exit mobile version