Hi,
Error -
ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1 in
I have declared SP Parameter.
P_user_id varchar2 DEFAULT '',
P_USER_PASSWORD varchar2 DEFAULT '',
P_OUT_USER_ID OUT NUMBER ,
P_OUT_MSG_ID OUT NUMBER
Regards,
Pratik
Amit MohantyPosted Jul 25, 2023, 6:17 AM
The error message suggests that the issue is with the buffer size of one or more of these parameters, which is likely too small to accommodate the data being passed.
To resolve this issue, you'll need to check the data being passed to these parameters and ensure it doesn't exceed the specified buffer size. If the data is too large, you can increase the buffer size accordingly.
For example, if the
P_user_idandP_USER_PASSWORDare not expected to store more than 50 characters, you could declare them with a size of 50 as follows: