ORA-01400 cannot insert NULL into (string)

What causes an ORA-01400 error?

An attempt was made to insert a NULL into the column “USER”.”TABLE”.”COLUMN”.

For example, if you enter:

connect scott/tiger
create table a (a1 number not null);
insert into a values (null);

Oracle returns:

ORA-01400 cannot insert NULL into (“SCOTT”.”A”.”A1″) : which means you
cannot insert NULL into “SCOTT”.”A”.”A1″.

How Xynomix can help

Retry the operation with a value other than NULL.

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