SQL error “ORA-01722: invalid number”

前端 未结 13 1743
野趣味
野趣味 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:42

    An ORA-01722 error occurs when an attempt is made to convert a character string into a number, and the string cannot be converted into a number.

    Without seeing your table definition, it looks like you're trying to convert the numeric sequence at the end of your values list to a number, and the spaces that delimit it are throwing this error. But based on the information you've given us, it could be happening on any field (other than the first one).

提交回复
热议问题