Ora VS Tools 2.55: Datagrid incorrectly complains about not-null constraints
Posted: Fri 11 Apr 2008 07:57
Easy to repro:
create a table with a not-null column, that can receive a value either by having a default or by a trigger:
Now open the table data, and try to add 2 empty rows.
You will get an ORA-1400, which desn't make any sense.
Except when having a fixed column list for the insert statement, which would be wrong for this kind of application.
create a table with a not-null column, that can receive a value either by having a default or by a trigger:
Code: Select all
create table NotNullTest
(
MyColumn Integer default 1 not null
)
You will get an ORA-1400, which desn't make any sense.
Except when having a fixed column list for the insert statement, which would be wrong for this kind of application.
