Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-06502:PL/SQL:numeric or value error:character to number conversion err

894333Nov 4 2011 — edited Nov 4 2011
Hi All,

In my code I am using the following -

LPAD (SUBSTR (NVL (rec_demand_file.requested_quantity, ' '),
1,
8
),
8
)

Here requested_quantity is a NUMBER field.
Using the above syntax gives me an error 'ORA-06502: PL/SQL: numeric or value error: character to number conversion error'

Can anyone please help me for this.
Its becoming a show stopper for me.

Regards,
Shruti
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2011
Added on Nov 4 2011
4 comments
1,229 views