SQL error “ORA-01722: invalid number”

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

    This is because:

    You executed an SQL statement that tried to convert a string to a number, but it was unsuccessful.

    As explained in:

    • Oracle/PLSQL: ORA-01722 Error.

    To resolve this error:

    Only numeric fields or character fields that contain numeric values can be used in arithmetic operations. Make sure that all expressions evaluate to numbers.

提交回复
热议问题