Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot insert null into column- import data to Oracle table.

user7351276Mar 9 2012 — edited Mar 9 2012
Data is loaded to table test_today from dat file.
then when I execute the below statement, get error

INSERT INTO testload (country,tatno, name, type, desc)
SELECT col1
,col2
,col3
,col4
,col5
,col6
,col7
FROM test_today
WHERE depid=3434343

Getting error cannot insert null into column country.
But all the rows in table test_today has values. I have checked completely

I tried to replace with chr (13) and char (10) but still am getting the same error.

Any suggestions appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2012
Added on Mar 9 2012
5 comments
822 views