Oracle Error: ORA-01722
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
|pradeep||Aug 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:|
WHERE key_name = 86;
here the key_name is varchar2(30)