ORA-00922

ORA-00922 missing or invalid option

What causes an ORA-00922 error?

An invalid option was specified in defining a column or storage clause. The valid option in specifying a column is NOT NULL to specify that the column cannot contain any NULL values. Only constraints may follow the datatype. Specifying a maximum length on a DATE or LONG datatype also causes this error.

How Xynomix can help

Correct the syntax. Remove the erroneous option or length specification from the column or storage specification.

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.”