Inserting Blanks Into NOT NULL Column Fails With ORA-01400
Last updated on JULY 05, 2017
Applies to:Precompilers - Version 1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Dec-2012***
In your precompiler program, you are trying to insert into a mandatory NOT NULL column one or more blanks. You create a character host variable and fill it with blanks. When you execute the INSERT statement, you get the Oracle error 'ORA-01400 mandatory (NOT NULL) column is missing or NULL during insert'.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms