Page 1 of 1

Error : Invalid number ORA-01722

Posted: Thu Mar 26, 2009 7:20 am
by sreelalpp
Hello,
I am getting the error "Invalid number ORA-01722" when i try to view data from an oracle stage.
The table definiton of the stage was imported from the table itself.

Thx,
sri

Posted: Thu Mar 26, 2009 7:23 am
by vinothkumar
ORA-01722: invalid number
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.
Action: Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation

Posted: Thu Mar 26, 2009 7:42 am
by DSguru2B
Do you have custom sql?

Posted: Thu Mar 26, 2009 7:50 am
by betterthanever
were you able to run your query on DB without any issues???

Posted: Thu Apr 02, 2009 2:59 am
by deahl
I just had the same error. In the oracle database and in the application metadata a field had differing types between the source and target databases. In Oracle in the source it was a VARCHAR2 but a NUMBER in the target. Once the table metadata was remigrated into the warehouse it solved the problem.