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!

Invalid Number

497041Apr 14 2007 — edited Apr 14 2007
I have a table test having a field hs of varchar2 data type

create table test
(h1 varchar2(20))
h2 varchar2(20));

The field has 3 rows
12,13
13,14
15,16


Now I want to create a table from the above table as follows:

create table test1 as select to_number(h1) + to_number(h2) from test

The above statement gives the following error:
----Invalid Number.


Please help
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 12 2007
Added on Apr 14 2007
5 comments
441 views