ORA-01722

ORA-01722 invalid number

What causes an ORA-01722 error?

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.

How Xynomix can help

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.

Contact us for more information. To learn more about ways we can support your database visit our Oracle database consultancy page.

Contact Us


    On submitting this form, Xynomix will store your details and may contact you in relation to your request. For more information on how we process data, please see our privacy notice.

    “We have utilised Xynomix consultancy for multiple projects. Most recently we have enlisted their consultants help to complete an Oracle database migration to new servers. As part of this Xynomix used their specialist knowledge to set up an appropriate backup and data retention policy in line with industry best practice. The work was, as always, completed in a timely, efficient manner.”