Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Oracle not null error when using datatype int
I get an error when I use a database column of datatype 'int' or
'number' that has constraint NOT NULL.
Whenever I attempt an insert it says:
ORA-01400: cannot insert NULL into
("SYSTEM"."TABLE_NAME"."NUMBER_OR_INT_FIELD")
if I change the column 'NUMBER_OR_INT_FIELD' to have a datatype of
'char', it works fine.
Any thoughts why this is? Received on Mon Nov 25 2002 - 09:07:13 CST
![]() |
![]() |