Submitting forms on the support site are temporary unavailable for schedule maintenance. If you need immediate assistance please contact technical support. We apologize for the inconvenience.
Receiving an "Ora-01400: cannot insert NULL into (Schema.Table.Column)" error importing
Description
When trying to enter a NULL into a not null column with a default, using Import Table Data, an error message is returned that says, "Ora-01400: cannot insert NULL into (Schema.Table.Column)".
Cause
Prior to v11.5, this worked correctly. However, The import table data code was rewritten in 11.5. The rewrite made imports happen much faster, and remove some restrictions with file and table sizes. It seems that in previous versions when there was a NULL in the dataset, the import wizard did nothing with that column. The current version always imports what is in the file (null or non-null). If the import is changed so that it worked as before, Toad would lose a lot of the speed benefits that were realized starting in the 11.5 version.
Resolution
WORKAROUND: Make an AFTER INSERT trigger to look for nulls and substitute with default values.
STATUS: This issue is fixed in Toad for Oracle 12.8. This version can be downloaded here.
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Recommended Content
Product(s):
Toad for Oracle
Topic(s):
Troubleshooting
Article History:
Created on: 3/16/2013 Last Update on: 5/7/2023
Thank you for your feedback for Topic Request
Your Request will be reviewed by our technical reviewer team and, if approved, will be added as a Topic in our Knowledgebase.
Welcome to Quest Support
You can find online support help for Quest *product* on an affiliate support site. Click continue to be directed to the correct support content and assistance for *product*.
Search All Articles
IE 8, 9, & 10 No longer supported
The Quest Software Portal no longer supports IE8, 9, & 10 and it is recommended to upgrade your browser to the latest version of Internet Explorer or Chrome.