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!

How to convert a character string into a number in Oracle

3217336Mar 29 2017 — edited Apr 18 2017

Hello,

How to convert a character string into a number in Oracle as I am getting the below ORA-01722: invalid number when I ran the below Update query?

SQL> UPDATE proddta.f1521 SET

NBURAT = NBDL01

WHERE

NBLGCL = 'LR'

  2    3    4    5  ;

NBURAT = NBDL01

         *

ERROR at line 2:

ORA-01722: invalid number

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2017
Added on Mar 29 2017
6 comments
1,316 views