Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Oracle not null error when using datatype int

Oracle not null error when using datatype int

From: Rich D <rdalfonso_at_nyc.rr.com>
Date: 25 Nov 2002 07:07:13 -0800
Message-ID: <196cd325.0211250707.6ae827a9@posting.google.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US