SQL error “ORA-01722: invalid number”

前端 未结 13 1783
野趣味
野趣味 2020-11-29 10:15

A very easy one for someone, The following insert is giving me the

ORA-01722: invalid number

why?

INSERT INTO C         


        
13条回答
  •  没有蜡笔的小新
    2020-11-29 10:44

    Suppose telephone number is defined as NUMBER then the blanks cannot be converted into a number:

    create table telephone_number (tel_number number);
    insert into telephone_number values ('0419 853 694');
    

    The above gives you a

    ORA-01722: invalid number

提交回复
热议问题