Quick Search:
 Oracle Database Error: ORA-01722      [Return To Oracle Error Index] Jump to:  
Oracle Error: ORA-01722

Error Description:
Invalid number

Error Cause:
The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates..

Check the character strings in the function or expression. Verify that they contain only numbers, a sign, a decimal point, and the character "E" or "e", then retry the operation.

Add a comment 
pradeepAug 12th, 2015 12:40am
If you are comparing varchar2 with number in a WHERE condition for select statement, it throws the same error. For example:
lv_mail_to_list varchar2(2000);
SELECT key_desc
INTO lv_mail_to_list
FROM table1
WHERE key_name = 86;

here the key_name is varchar2(30)
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org