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
Error : Invalid number ORA-01722
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
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
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
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
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.