DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: ORA-01722 invalid number

  1. #1
    Join Date
    Jun 2003
    Posts
    4

    ORA-01722 invalid number

    I've truncated data from a table .I'm now trying insert into the truncated table from a table in a diffrent user (but similar in structure with the truncated table ) ie
    INSERT INTO A.TABLE_A SELECT * FROM B.TABLE_A; but i get error ORA-01722


    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.

    Kindly assist

  2. #2
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    seems like .. datatype mismatch between the tables of diff schema? ..

    Use To_Number Fn.. if so ( to convert from char string to number if u r sure all the values in that col are numerals )
    funky...

    "I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."

    "Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width